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

View File

@ -1,11 +1,15 @@
a :
{builderDefsPackage
, gmp, mpfr, libffi
, ...} @ x:
builderDefsPackage (a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
];
helperArgNames = [];
propagatedBuildInputs = with a; [
gmp mpfr
];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
in
rec {
src = a.fetchUrlFromSrcInfo s;
@ -35,4 +39,4 @@ rec {
platforms = with a.lib.platforms;
linux;
};
}
}) x

View File

@ -1542,9 +1542,7 @@ let
};
};
ecl = builderDefsPackage ../development/compilers/ecl {
inherit gmp mpfr;
};
ecl = callPackage ../development/compilers/ecl { };
eql = callPackage ../development/compilers/eql {};