mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
fix of cosmetic commit (sry)
svn path=/nixpkgs/trunk/; revision=12646
This commit is contained in:
parent
bab435592b
commit
6394358c9a
@ -491,7 +491,7 @@ rec {
|
||||
|
||||
# maps a function on each attr value
|
||||
# f = attr : value : ..
|
||||
mapAttrs = f : r : listToAttrs ( mapRecordFlatten (a : v : nv n ( f a v ) ) r);
|
||||
mapAttrs = f : r : listToAttrs ( mapRecordFlatten (a : v : nv a ( f a v ) ) r);
|
||||
|
||||
# to be used with listToAttrs (_a_ttribute _v_alue)
|
||||
nv = name : value : { inherit name value; };
|
||||
|
Loading…
Reference in New Issue
Block a user