about summary refs log tree commit diff
path: root/pkgs/tools/graphics/ploticus
diff options
context:
space:
mode:
authorLucas Franceschino <lucas.franceschino@inria.fr>2022-05-15 11:04:03 +0200
committerLucas Franceschino <lucas.franceschino@inria.fr>2022-05-15 11:04:03 +0200
commitaa8e4e5a0eecad855b8a6b4de168231dd2b54339 (patch)
tree7bb0990c4de5d9cca56116e74d18812c136b78ea /pkgs/tools/graphics/ploticus
parent8714f77b8b05385b108b0175543d32c3bf59155e (diff)
ploticus: add Darwin support
thanks @risicle
Diffstat (limited to 'pkgs/tools/graphics/ploticus')
-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;
   };
 }