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

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