Build ECL with DFFI

svn path=/nixpkgs/trunk/; revision=25610
This commit is contained in:
Michael Raskin
2011-01-18 17:36:25 +00:00
parent 0db18b0d5f
commit b3583dc847
2 changed files with 9 additions and 7 deletions
+8 -4
View File
@@ -1,11 +1,15 @@
a : {builderDefsPackage
, gmp, mpfr, libffi
, ...} @ x:
builderDefsPackage (a :
let let
s = import ./src-for-default.nix; s = import ./src-for-default.nix;
buildInputs = with a; [ helperArgNames = [];
];
propagatedBuildInputs = with a; [ propagatedBuildInputs = with a; [
gmp mpfr gmp mpfr
]; ];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
in in
rec { rec {
src = a.fetchUrlFromSrcInfo s; src = a.fetchUrlFromSrcInfo s;
@@ -35,4 +39,4 @@ rec {
platforms = with a.lib.platforms; platforms = with a.lib.platforms;
linux; linux;
}; };
} }) x
+1 -3
View File
@@ -1542,9 +1542,7 @@ let
}; };
}; };
ecl = builderDefsPackage ../development/compilers/ecl { ecl = callPackage ../development/compilers/ecl { };
inherit gmp mpfr;
};
eql = callPackage ../development/compilers/eql {}; eql = callPackage ../development/compilers/eql {};