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

1 line
92 B
Nix

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