repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
nixos/preload: init
[NixPkgs.git]
/
nixos
/
lib
/
from-env.nix
blob
6bd71e40e9a1abb114d53cb2162018331124a59f
1
# TODO: remove this file. There is lib.maybeEnv now
2
name: default:
3
let value = builtins.getEnv name; in
4
if value == "" then default else value