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"] "1.8.1" a;
version = a.lib.attrByPath ["version"] "1.8.1" a;
buildInputs = with a; [
perl
];

View File

@@ -4,7 +4,7 @@ let
fetchurl = args.fetchurl;
fullDepEntry = args.fullDepEntry;
version = lib.getAttr ["version"] "4.1.0" args;
version = lib.attrByPath ["version"] "4.1.0" args;
buildInputs = with args; [
cmake freeglut mesa
libX11 xproto inputproto libXi libXmu

View File

@@ -4,7 +4,7 @@ let
fetchurl = args.fetchurl;
simplyShare = args.simplyShare;
version = lib.getAttr ["version"] "2.0.0" args;
version = lib.attrByPath ["version"] "2.0.0" args;
buildInputs = with args; [ ];
in
rec {

View File

@@ -4,7 +4,7 @@ let
fetchurl = args.fetchurl;
fullDepEntry = args.fullDepEntry;
version = lib.getAttr ["version"] "" args;
version = lib.attrByPath ["version"] "" args;
buildInputs = with args; [
libtiff libpng libjpeg pkgconfig
gtk glib

View File

@@ -3,7 +3,7 @@ let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "0.9.1" args;
version = lib.attrByPath ["version"] "0.9.1" args;
buildInputs = with args; [
libtool libjpeg openssl libX11 libXdamage xproto damageproto
xextproto libXext fixesproto libXfixes xineramaproto libXinerama

View File

@@ -3,7 +3,7 @@ let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "0.10.1" args;
version = lib.attrByPath ["version"] "0.10.1" args;
buildInputs = with args; [
];

View File

@@ -1,5 +1,5 @@
args : with args;
let version = lib.getAttr ["version"] "r34824" args; in
let version = lib.attrByPath ["version"] "r34824" args; in
rec {
src = fetchurl {
url = "http://nightly.webkit.org/files/trunk/src/WebKit-${version}.tar.bz2";