mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
tests/functional/common/init.sh: Use parentheses around negation
roberth: Not strictly necessary, but probably a good habit Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
648302b833
commit
7c9f3eeef8
@ -9,7 +9,7 @@ if isTestOnNixOS; then
|
||||
|
||||
export NIX_USER_CONF_FILES="$test_nix_conf_dir/nix.conf"
|
||||
mkdir -p "$test_nix_conf_dir" "$TEST_HOME"
|
||||
! test -e "$test_nix_conf"
|
||||
(! test -e "$test_nix_conf")
|
||||
cat > "$test_nix_conf_dir/nix.conf" <<EOF
|
||||
experimental-features = nix-command flakes
|
||||
flake-registry = $TEST_ROOT/registry.json
|
||||
|
Loading…
Reference in New Issue
Block a user