Changed builderDefs to use composedArgsAndFun, reduced number of nulls, made overrides in builderDefsPackage to work in an intuitive manner.
svn path=/nixpkgs/trunk/; revision=12655
This commit is contained in:
@@ -2,7 +2,7 @@ args: with args;
|
||||
|
||||
let
|
||||
|
||||
localDefs = builderDefs {
|
||||
localDefs = builderDefs.meta.function {
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.5.1.1.tar.gz;
|
||||
@@ -11,7 +11,7 @@ let
|
||||
|
||||
buildInputs = [python];
|
||||
|
||||
} null; /* null is a terminator for sumArgs */
|
||||
};
|
||||
|
||||
in with localDefs;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ args: with args;
|
||||
|
||||
let
|
||||
|
||||
localDefs = builderDefs {
|
||||
localDefs = builderDefs.meta.function {
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-0.9.6.4.tar.gz;
|
||||
@@ -11,7 +11,7 @@ let
|
||||
|
||||
buildInputs = [python];
|
||||
|
||||
} null; /* null is a terminator for sumArgs */
|
||||
};
|
||||
|
||||
in with localDefs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user