diff options
author | Michael Hoang <enzime@users.noreply.github.com> | 2023-09-14 18:49:12 +0200 |
---|---|---|
committer | Michael Hoang <enzime@users.noreply.github.com> | 2023-10-03 15:08:27 +0100 |
commit | a03367cae4c733ffda3ac18e156544b6d494581b (patch) | |
tree | ff766274cca6ca1fc4519b6b0ac0872cdd21ebe6 /pkgs/applications/science | |
parent | f5892ddac112a1e9b3612c39af1b72987ee5783a (diff) |
qalculate-gtk: generate bundle on macOS
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/math/qalculate-gtk/default.nix | 5 |
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 191ee7a00fdba..ade614c89b0fb 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; |