Nicolas Pierron
249a3a314f
Add: Handle a way to factor conditions.
mkIf config.foo.enable {
require = [ .. ];
environment = {
// infer the else part.
extraPackages = [pkgs.foo];
etc = mkThenElse {
thenPart = { .. };
elsePart = { .. };
};
};
}
Fix: UniqFlattenAttr compare configuration without the "require" attribute.
svn path=/nixpkgs/trunk/; revision=13372
2008-11-23 00:19:18 +00:00
..
2008-11-19 21:45:43 +00:00
2008-11-14 16:57:19 +00:00
2008-11-14 16:57:19 +00:00
2008-11-14 14:15:46 +00:00
2008-11-19 21:46:19 +00:00
2008-11-04 21:24:10 +00:00
2008-11-23 00:19:18 +00:00
2008-11-14 16:57:19 +00:00
2008-11-19 17:21:49 +00:00
2008-11-07 13:05:05 +00:00
2008-11-22 16:57:16 +00:00
2008-11-14 16:57:19 +00:00
2008-11-22 16:57:31 +00:00
2008-11-22 16:57:16 +00:00