Skip to content

Commit

Permalink
CreateOrMergeNixConfig: fix expected nix.conf mode to be 644, not 664
Browse files Browse the repository at this point in the history
We had this bug in various places in the past, but I thought I fixed
them all. No clue how it showed up again...
  • Loading branch information
cole-h committed Nov 25, 2024
1 parent b4bc792 commit 32487d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action/base/create_or_merge_nix_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::action::{
/// The `nix.conf` configuration names that are safe to merge.
// FIXME(@cole-h): make configurable by downstream users?
const MERGEABLE_CONF_NAMES: &[&str] = &["experimental-features"];
const NIX_CONF_MODE: u32 = 0o664;
const NIX_CONF_MODE: u32 = 0o644;
const NIX_CONF_COMMENT_CHAR: char = '#';

#[non_exhaustive]
Expand Down

0 comments on commit 32487d8

Please sign in to comment.