qalculate-gtk: generate bundle on macOS
This commit is contained in:
parent
f5892ddac1
commit
a03367cae4
1 changed files with 3 additions and 2 deletions
|
@ -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: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "qalculate-gtk";
|
pname = "qalculate-gtk";
|
||||||
|
@ -13,7 +13,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ];
|
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ];
|
||||||
buildInputs = [ libqalculate gtk3 curl ];
|
buildInputs = [ libqalculate gtk3 curl ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue