renamed av/avs (create attr/value set) to nv nvs

because niksnut has renamed the attr names in listToAttrs long time ago.

svn path=/nixpkgs/trunk/; revision=10185
This commit is contained in:
Marc Weber
2008-01-17 11:08:24 +00:00
parent 42dd0cdac8
commit e054e91e8b
2 changed files with 12 additions and 12 deletions

View File

@@ -47,7 +47,7 @@
rec {
# using undocumented feature that attribute can contain hyphens when using listToAttrs
# You should be able to get the attribute values using __getAttr
result = builtins.listToAttrs (map ( l : lib.av l.name (
result = builtins.listToAttrs (map ( l : lib.nv l.name (
packageByPackageDB ghc l.name
("lib/ghc-${ghc.version}/${l.name}.conf")
(map (n: builtins.getAttr n result) l.deps)