6 lines
145 B
Nix
6 lines
145 B
Nix
# TODO: remove this file. There is lib.maybeEnv now
|
|
name: default:
|
|
let
|
|
value = builtins.getEnv name;
|
|
in
|
|
if value == "" then default else value
|