summary refs log tree commit diff
path: root/pkgs/tools/graphics/gnuplot
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-14 06:46:56 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-14 06:46:56 +0200
commit444a2bc17437a12a443b83df8797fc659795c672 (patch)
treef27846a764708651d4c15848153cacc011f8c7f4 /pkgs/tools/graphics/gnuplot
parent86872d31b1f8379c4d62aacfa18bd5a9d7530447 (diff)
gnuplot: migrate to wxGTK32
Diffstat (limited to 'pkgs/tools/graphics/gnuplot')
-rw-r--r--pkgs/tools/graphics/gnuplot/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/gnuplot/default.nix b/pkgs/tools/graphics/gnuplot/default.nix
index bcb464d375e11..a82b18c8562df 100644
--- a/pkgs/tools/graphics/gnuplot/default.nix
+++ b/pkgs/tools/graphics/gnuplot/default.nix
@@ -8,7 +8,7 @@
 , libXpm ? null
 , libXaw ? null
 , aquaterm ? false
-, withWxGTK ? false, wxGTK ? null
+, withWxGTK ? false, wxGTK32, Cocoa
 , fontconfig ? null
 , gnused ? null
 , coreutils ? null
@@ -37,7 +37,8 @@ in
     ++ lib.optional withCaca libcaca
     ++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
     ++ lib.optionals withQt [ qtbase qtsvg ]
-    ++ lib.optional withWxGTK wxGTK;
+    ++ lib.optional withWxGTK wxGTK32
+    ++ lib.optional (withWxGTK && stdenv.isDarwin) Cocoa;
 
   postPatch = ''
     # lrelease is in qttools, not in qtbase.