Build ECL with DFFI
svn path=/nixpkgs/trunk/; revision=25610
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user