diff options
author | Tomas Hlavaty <tom@logand.com> | 2016-09-05 20:01:50 +0200 |
---|---|---|
committer | Tomas Hlavaty <tom@logand.com> | 2016-09-05 20:07:24 +0200 |
commit | 5f8b6b2e1d2eaff9bfdec53f5d9743dfee2e0224 (patch) | |
tree | d5074322bf4f6b2d448df5b69922d5659f03c35c /pkgs/development/compilers/ecl | |
parent | 6ee4fd834fd45eed252de0f43033ffa0bfa19b9e (diff) |
ecl: add gcc into wrapper PATH
otherwise the native gcc based compiler does not work
Diffstat (limited to 'pkgs/development/compilers/ecl')
-rw-r--r-- | pkgs/development/compilers/ecl/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix index 61737004e6fbe..cfaf8184c6903 100644 --- a/pkgs/development/compilers/ecl/default.nix +++ b/pkgs/development/compilers/ecl/default.nix @@ -1,7 +1,8 @@ {stdenv, fetchurl , libtool, autoconf, automake , gmp, mpfr, libffi, makeWrapper -, noUnicode ? false, +, noUnicode ? false +, gcc }: let s = # Generated upstream information @@ -17,7 +18,7 @@ let libtool autoconf automake makeWrapper ]; propagatedBuildInputs = [ - libffi gmp mpfr + libffi gmp mpfr gcc ]; in stdenv.mkDerivation { @@ -43,6 +44,7 @@ stdenv.mkDerivation { postInstall = '' sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config wrapProgram "$out/bin/ecl" \ + --prefix PATH ':' "${gcc}/bin" \ --prefix NIX_LDFLAGS ' ' "-L${gmp.lib or gmp.out or gmp}/lib" \ --prefix NIX_LDFLAGS ' ' "-L${libffi.lib or libffi.out or libffi}/lib" ''; |