about summary refs log tree commit diff
path: root/pkgs/tools/graphics/ploticus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/ploticus/default.nix')
-rw-r--r--pkgs/tools/graphics/ploticus/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/ploticus/default.nix b/pkgs/tools/graphics/ploticus/default.nix
index 89b1cb220a1c0..f315dc9a63c08 100644
--- a/pkgs/tools/graphics/ploticus/default.nix
+++ b/pkgs/tools/graphics/ploticus/default.nix
@@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
   preBuild = ''
     cd src
   '';
+  makeFlags = [ "CC=cc" ];
 
   preInstall = ''
     mkdir -p "$out/bin"
@@ -74,6 +75,6 @@ stdenv.mkDerivation rec {
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ pSub ];
     homepage = "http://ploticus.sourceforge.net/";
-    platforms = with platforms; linux;
+    platforms = with platforms; linux ++ darwin;
   };
 }