1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Add experimental-features setting

Experimental features are now opt-in. There are currently two
experimental features: "nix-command" (which enables the "nix"
command), and "flakes" (which enables support for flakes). This will
allow us to merge experimental features more quickly, without
committing to supporting them indefinitely.

Typical usage:

$ nix build --experimental-features 'nix-command flakes' nixpkgs#hello
This commit is contained in:
Eelco Dolstra 2019-10-16 17:45:09 +02:00
parent a56036fa87
commit 8e478c2341
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 17 additions and 0 deletions

View file

@ -17,6 +17,7 @@ cat > "$NIX_CONF_DIR"/nix.conf <<EOF
build-users-group =
keep-derivations = false
sandbox = false
experimental-features = nix-command flakes
include nix.conf.extra
EOF