index
:
nixlib
this commit
master
sixos
Alyssa's collection of Nix expressions
Alyssa Ross
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
nixpkgs
/
lib
/
tests
/
modules
/
define-attrsOfSub-foo-if-enable.nix
blob: 93702dfa86f3f5fcb2b4323a3edfe0cee29688c9 (
plain
) (
blame
)
1
2
3
4
5
6
7
{
config
,
lib
,
...
}:
{
attrsOfSub
.
foo
=
lib
.
mkIf config
.
enable
{
enable
=
true
;
};
}