Merge pull request #123482 from stephank/fix-pikchr-darwin
pikchr: fix darwin build
commit9be60ffa433643ffa10845899c6942710b3f8f37
authorSandro <sandro.jaeckel@gmail.com>
dateTue 18 May 2021, 12:11 (6 years ago)
parenta39809adf51504
pkgs/tools/graphics/pikchr/default.nix+2
@@ -17,6 +17,8 @@ stdenv.mkDerivation {
1717 substituteInPlace Makefile --replace open "test -f"
1818 '';
1919
20+ makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
21+
2022 installPhase = ''
2123 install -Dm755 pikchr $out/bin/pikchr
2224 install -Dm755 pikchr.out $out/lib/pikchr.o