forked from mirrors/nixpkgs
4 lines
91 B
Nix
4 lines
91 B
Nix
|
name: default:
|
||
|
let value = builtins.getEnv name; in
|
||
|
if value == "" then default else value
|