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..4cfec5f553d9 --- /dev/null +++ b/third_party/nix/src/tests/lang/eval-okay-getenv.nix @@ -0,0 +1 @@ +builtins.getEnv "TEST_VAR" + (if builtins.getEnv "NO_SUCH_VAR" == "" then "bar" else "bla") |