* Indentation.
svn path=/nixpkgs/trunk/; revision=30193
This commit is contained in:
parent
a6cb9725c0
commit
efe6fddd59
@ -273,6 +273,6 @@ rec {
|
|||||||
# override only the attributes that are already present in the old set
|
# override only the attributes that are already present in the old set
|
||||||
# useful for deep-overriding
|
# useful for deep-overriding
|
||||||
overrideExisting = old: new:
|
overrideExisting = old: new:
|
||||||
old // listToAttrs (map (attr: nameValuePair attr (attrByPath [attr] (getAttr attr old) new)) (attrNames old));
|
old // listToAttrs (map (attr: nameValuePair attr (attrByPath [attr] (getAttr attr old) new)) (attrNames old));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user