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
vuls: init at 0.27.0
[NixPkgs.git]
/
lib
/
tests
/
modules
/
freeform-unstr-dep-str.nix
blob
549d89afecaced729556ab98de743dfe07f1c22f
1
{ lib, config, ... }: {
2
options.value = lib.mkOption {
3
type = lib.types.nullOr lib.types.str;
4
default = null;
5
};
6
7
config.foo = lib.mkIf (config.value != null) config.value;
8
}