1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-09 07:53:55 +02:00

Stabilize the "nix-command" feature

This commit is contained in:
Eelco Dolstra 2024-07-10 17:01:37 +02:00
parent 51583851a2
commit e638d00223
9 changed files with 6 additions and 35 deletions

View file

@ -54,8 +54,8 @@ var=$(nix config show | grep '^allowed-uris =' | cut -d '=' -f 2 | xargs)
# Test that we can !include a file.
export NIX_USER_CONF_FILES=$here/config/nix-with-bang-include.conf
var=$(nix config show | grep '^experimental-features =' | cut -d '=' -f 2 | xargs)
[[ $var == nix-command ]]
var=$(nix config show | grep '^fsync-metadata =' | cut -d '=' -f 2 | xargs)
[[ $var == true ]]
# Test that it's possible to load config from the environment
prev=$(nix config show | grep '^cores' | cut -d '=' -f 2 | xargs)