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:
parent
a924db7d0b
commit
000db53f8f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue