Merge pull request #123482 from stephank/fix-pikchr-darwin

pikchr: fix darwin build
This commit is contained in:
Sandro 2021-05-18 12:11:43 +02:00 committed by GitHub
commit 9be60ffa43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace open "test -f" substituteInPlace Makefile --replace open "test -f"
''; '';
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = '' installPhase = ''
install -Dm755 pikchr $out/bin/pikchr install -Dm755 pikchr $out/bin/pikchr
install -Dm755 pikchr.out $out/lib/pikchr.o install -Dm755 pikchr.out $out/lib/pikchr.o