mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #33732 from kamilchm/ponyc
ponyc: FIX $CC undefined, using gcc as the linker
This commit is contained in:
commit
df400a17de
@ -69,8 +69,10 @@ stdenv.mkDerivation ( rec {
|
|||||||
+ stdenv.lib.optionalString stdenv.isDarwin '' bits=64 ''
|
+ stdenv.lib.optionalString stdenv.isDarwin '' bits=64 ''
|
||||||
+ stdenv.lib.optionalString (stdenv.isDarwin && (!lto)) '' lto=no ''
|
+ stdenv.lib.optionalString (stdenv.isDarwin && (!lto)) '' lto=no ''
|
||||||
+ '' install
|
+ '' install
|
||||||
mv $out/bin/ponyc $out/bin/ponyc.wrapped
|
|
||||||
makeWrapper $out/bin/ponyc.wrapped $out/bin/ponyc \
|
wrapProgram $out/bin/ponyc \
|
||||||
|
--prefix PATH ":" "${stdenv.cc}/bin" \
|
||||||
|
--set-default CC "$CC" \
|
||||||
--prefix PONYPATH : "$out/lib" \
|
--prefix PONYPATH : "$out/lib" \
|
||||||
--prefix PONYPATH : "${stdenv.lib.getLib pcre2}/lib" \
|
--prefix PONYPATH : "${stdenv.lib.getLib pcre2}/lib" \
|
||||||
--prefix PONYPATH : "${stdenv.lib.getLib libressl}/lib"
|
--prefix PONYPATH : "${stdenv.lib.getLib libressl}/lib"
|
||||||
|
Loading…
Reference in New Issue
Block a user