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"
'';
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
install -Dm755 pikchr $out/bin/pikchr
install -Dm755 pikchr.out $out/lib/pikchr.o