nix-super/tests/functional/lang/eval-okay-getenv.nix

2 lines
92 B
Nix
Raw Permalink Normal View History

builtins.getEnv "TEST_VAR" + (if builtins.getEnv "NO_SUCH_VAR" == "" then "bar" else "bla")