pikchr: fix darwin build
commitdf51504424086d4d48b0b34c03c9367f59d48095
authorStéphan Kochen <git@stephank.nl>
dateTue 18 May 2021, 11:46 (6 years ago)
parenta1d1f08
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