Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-05-02 22:58:02 +00:00
867 changed files with 75282 additions and 27025 deletions
+5 -2
View File
@@ -1,6 +1,6 @@
{stdenv, fetchurl
, libtool, autoconf, automake
, gmp, mpfr, libffi
, gmp, mpfr, libffi, makeWrapper
, noUnicode ? false,
}:
let
@@ -14,7 +14,7 @@ let
sha256="16ab8qs3awvdxy8xs8jy82v8r04x4wr70l9l2j45vgag18d2nj1d";
};
buildInputs = [
libtool autoconf automake
libtool autoconf automake makeWrapper
];
propagatedBuildInputs = [
libffi gmp mpfr
@@ -42,6 +42,9 @@ stdenv.mkDerivation {
postInstall = ''
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
wrapProgram "$out/bin/ecl" \
--prefix NIX_LDFLAGS ' ' "-L${gmp.lib or gmp.out or gmp}/lib" \
--prefix NIX_LDFLAGS ' ' "-L${libffi.lib or libffi.out or libffi}/lib"
'';
meta = {