8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
4 lines
143 B
Nix
4 lines
143 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
|