Merge pull request #327 from nix-community/nix-experimental

nix-experimental: enable configurable-impure-env, fetch-closure, recursive-nix
This commit is contained in:
Jörg Thalheim 2023-12-07 10:30:38 +01:00 committed by GitHub
commit eacbc85e04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,15 @@
# for container in builds support
"auto-allocate-uids"
"cgroups"
# run builds with network access but without fixed-output checksum
"impure-derivations"
# Allow the use of the impure-env setting.
"configurable-impure-env"
# Enable the use of the fetchClosure built-in function in the Nix language.
"fetch-closure"
# Allow derivation builders to call Nix, and thus build derivations recursively.
"recursive-nix"
] ++ lib.optional (lib.versionOlder (lib.versions.majorMinor config.nix.package.version) "2.18")
# allows to drop references from filesystem images
"discard-references";