about summary refs log tree commit diff
path: root/pkgs/development/compilers/inform6
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-16 13:35:14 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-16 14:31:43 -0700
commit9716355b45f47fc3069cc9c5dbedc50fdc4793cc (patch)
treeb88d9483c17ed609f79e93f404cc01d99e319287 /pkgs/development/compilers/inform6
parent40c346de466d83a25d7750686c5b96ddfc6476c5 (diff)
downloadnixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.tar
nixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.tar.gz
nixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.tar.bz2
nixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.tar.lz
nixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.tar.xz
nixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.tar.zst
nixlib-9716355b45f47fc3069cc9c5dbedc50fdc4793cc.zip
inform6: fix darwin build
Diffstat (limited to 'pkgs/development/compilers/inform6')
-rw-r--r--pkgs/development/compilers/inform6/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/inform6/default.nix b/pkgs/development/compilers/inform6/default.nix
index f0c182f02077..950bafa67d90 100644
--- a/pkgs/development/compilers/inform6/default.nix
+++ b/pkgs/development/compilers/inform6/default.nix
@@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ perl ];
 
-  makeFlags = [ "PREFIX=${placeholder "out"}" ];
+  makeFlags = [
+    "CC=${stdenv.cc.targetPrefix}cc"
+    "PREFIX=${placeholder "out"}"
+  ];
 
   meta = with lib; {
     description = "Interactive fiction compiler and libraries";