forked from mirrors/nixpkgs
ecl, ecl_16_1_2: make sure ar is in PATH
This commit is contained in:
parent
ccef83bd40
commit
18a4e4f94f
|
@ -71,7 +71,12 @@ stdenv.mkDerivation {
|
|||
postInstall = ''
|
||||
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
||||
wrapProgram "$out/bin/ecl" \
|
||||
--prefix PATH ':' "${gcc}/bin" \
|
||||
--prefix PATH ':' "${
|
||||
lib.makeBinPath [
|
||||
gcc # for the C compiler
|
||||
gcc.bintools.bintools # for ar
|
||||
]
|
||||
}" \
|
||||
''
|
||||
# ecl 16.1.2 is too old to have -libdir for libffi and boehmgc, so we need to
|
||||
# use NIX_LDFLAGS_BEFORE to make gcc find these particular libraries.
|
||||
|
|
|
@ -58,7 +58,12 @@ stdenv.mkDerivation {
|
|||
|
||||
postInstall = ''
|
||||
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
|
||||
wrapProgram "$out/bin/ecl" --prefix PATH ':' "${gcc}/bin"
|
||||
wrapProgram "$out/bin/ecl" --prefix PATH ':' "${
|
||||
lib.makeBinPath [
|
||||
gcc # for the C compiler
|
||||
gcc.bintools.bintools # for ar
|
||||
]
|
||||
}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue