diff options
author | Stéphan Kochen <git@stephank.nl> | 2021-05-18 11:46:51 +0200 |
---|---|---|
committer | Stéphan Kochen <git@stephank.nl> | 2021-05-18 11:46:51 +0200 |
commit | df51504424086d4d48b0b34c03c9367f59d48095 (patch) | |
tree | 2f2979e937f1caa3c55613a5cb59732ede52a0c7 | |
parent | a1d1f086c75554efdc9017d40590560abd8bbfc7 (diff) |
pikchr: fix darwin build
-rw-r--r-- | pkgs/tools/graphics/pikchr/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/pikchr/default.nix b/pkgs/tools/graphics/pikchr/default.nix index 9b06d0629138..432c70231d0d 100644 --- a/pkgs/tools/graphics/pikchr/default.nix +++ b/pkgs/tools/graphics/pikchr/default.nix @@ -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 |