Small cleanup

This commit is contained in:
Eelco Dolstra 2013-10-24 14:48:02 +02:00
parent 0d76e1cb94
commit a4f1f4b367
2 changed files with 2 additions and 5 deletions

View file

@ -206,9 +206,7 @@ rec {
in
work startSet [] [];
genericClosure =
if builtins ? genericClosure then builtins.genericClosure
else lazyGenericClosure;
genericClosure = builtins.genericClosure or lazyGenericClosure;
innerModifySumArgs = f: x: a: b: if b == null then (f a b) // x else
innerModifySumArgs f x (a // b);

View file

@ -185,8 +185,7 @@ rec {
) funs;
moduleMerge = path: modules:
let modules_ = modules; in
moduleMerge = path: modules_:
let
addName = name:
if path == "" then name else path + "." + name;