about summary refs log tree commit diff
path: root/pkgs/applications/science/math
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-10-04 10:17:45 +0300
committerGitHub <noreply@github.com>2023-10-04 10:17:45 +0300
commitd478d2c6b66a83bcb58d53923be85bdb1519a85f (patch)
tree6df5043122851fca79a9d7e009481090dccf36c6 /pkgs/applications/science/math
parent38b9119cff44baf766a3b3dba5e9d61bfe348301 (diff)
parenta03367cae4c733ffda3ac18e156544b6d494581b (diff)
downloadnixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.tar
nixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.tar.gz
nixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.tar.bz2
nixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.tar.lz
nixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.tar.xz
nixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.tar.zst
nixlib-d478d2c6b66a83bcb58d53923be85bdb1519a85f.zip
Merge pull request #258811 from Enzime/qalculate-bundle
qalculate-gtk: generate bundle on macOS
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r--pkgs/applications/science/math/qalculate-gtk/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/science/math/qalculate-gtk/default.nix b/pkgs/applications/science/math/qalculate-gtk/default.nix
index 191ee7a00fdb..ade614c89b0f 100644
--- a/pkgs/applications/science/math/qalculate-gtk/default.nix
+++ b/pkgs/applications/science/math/qalculate-gtk/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, curl, wrapGAppsHook }:
+{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, curl, wrapGAppsHook, desktopToDarwinBundle }:
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "qalculate-gtk";
@@ -13,7 +13,8 @@ stdenv.mkDerivation (finalAttrs: {
 
   hardeningDisable = [ "format" ];
 
-  nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ];
+  nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ]
+    ++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ];
   buildInputs = [ libqalculate gtk3 curl ];
   enableParallelBuilding = true;