1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 16:51:15 +02:00

tests/functional: Add $config_nix

This commit is contained in:
Robert Hensing 2024-12-31 15:14:56 +01:00
parent a924db7d0b
commit 000db53f8f

View file

@ -29,6 +29,11 @@ source "$commonDir/test-root.sh"
test_nix_conf_dir=$TEST_ROOT/etc test_nix_conf_dir=$TEST_ROOT/etc
test_nix_conf=$test_nix_conf_dir/nix.conf test_nix_conf=$test_nix_conf_dir/nix.conf
# introduced in master in 9d2ed0a7d384a7759d5981425fba41ecf1b4b9e1,
# https://github.com/NixOS/nix/pull/11792. Could be replaced by a
# full backport.
config_nix="${commonDir}/config.nix"
export TEST_HOME=$TEST_ROOT/test-home export TEST_HOME=$TEST_ROOT/test-home
if ! isTestOnNixOS; then if ! isTestOnNixOS; then