Skip to content

Commit

Permalink
nix-experimental: enable ca-derivations and impure-derivations
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Aug 16, 2024
1 parent c5017cb commit ae31a2f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nixos/mixins/nix-experimental.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@

# Allow derivation builders to call Nix, and thus build derivations recursively.
"recursive-nix"

# Allow derivations to be content-addressed in order to prevent rebuilds
# when changes to the derivation do not result in changes to the
# derivation's output.
"ca-derivations"

# Allow derivations to produce non-fixed outputs by setting the __impure
# derivation attribute to true. An impure derivation can have differing
# outputs each time it is built.
"impure-derivations"
]
++ lib.optional (lib.versionAtLeast (lib.versions.majorMinor config.nix.package.version) "2.19")
# Allow the use of the impure-env setting.
Expand Down

0 comments on commit ae31a2f

Please sign in to comment.