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

2 lines
92 B
Nix

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