big breaking change: renaming lib.getAttr to lib.attrByPath

getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
This commit is contained in:
Marc Weber
2009-05-24 10:57:41 +00:00
parent 62620f0411
commit f7f938a1d1
65 changed files with 153 additions and 140 deletions

View File

@@ -2,7 +2,7 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.83.0" a;
version = a.lib.attrByPath ["version"] "0.83.0" a;
buildInputs = with a; [
pkgconfig
];

View File

@@ -2,7 +2,7 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.4.8" a;
version = a.lib.attrByPath ["version"] "0.4.8" a;
buildInputs = with a; [
python
];

View File

@@ -2,7 +2,7 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.1.9" a;
version = a.lib.attrByPath ["version"] "0.1.9" a;
buildInputs = with a; [
pkgconfig pygtk
];

View File

@@ -2,7 +2,7 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.8" a;
version = a.lib.attrByPath ["version"] "0.8" a;
propagatedBuildInputs = with a; [
openssl python
];

View File

@@ -2,7 +2,7 @@ a :
let
fetchurl = a.fetchurl;
version = a.lib.getAttr ["version"] "0.5.0rc1" a;
version = a.lib.attrByPath ["version"] "0.5.0rc1" a;
buildInputs = with a; [
python setuptools
];