diff options
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-getenv.nix')
-rw-r--r-- | third_party/nix/src/tests/lang/eval-okay-getenv.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-getenv.nix b/third_party/nix/src/tests/lang/eval-okay-getenv.nix new file mode 100644 index 000000000000..ea8bb9f0a629 --- /dev/null +++ b/third_party/nix/src/tests/lang/eval-okay-getenv.nix @@ -0,0 +1 @@ +builtins.getEnv "NIX_TEST_VAR" + (if builtins.getEnv "NO_SUCH_VAR" == "" then "bar" else "bla") |