lix/tests/lang/eval-okay-getenv.nix

2 lines
92 B
Nix
Raw Normal View History

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