Merge pull request #195435 from wegank/gtk4-darwin
gtk4: fix build on darwin
This commit is contained in:
commit
ee9aa033c5
3 changed files with 6 additions and 3 deletions
|
@ -93,6 +93,7 @@ stdenv.mkDerivation rec {
|
||||||
sassc
|
sassc
|
||||||
gi-docgen
|
gi-docgen
|
||||||
libxml2 # for xmllint
|
libxml2 # for xmllint
|
||||||
|
] ++ lib.optionals waylandSupport [
|
||||||
wayland-scanner
|
wayland-scanner
|
||||||
] ++ setupHooks;
|
] ++ setupHooks;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv }:
|
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv, libobjc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "qrencode";
|
pname = "qrencode";
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv libobjc ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-tests"
|
"--with-tests"
|
||||||
|
|
|
@ -28613,7 +28613,9 @@ with pkgs;
|
||||||
|
|
||||||
qrcodegen = callPackage ../development/libraries/qrcodegen { };
|
qrcodegen = callPackage ../development/libraries/qrcodegen { };
|
||||||
|
|
||||||
qrencode = callPackage ../development/libraries/qrencode { };
|
qrencode = callPackage ../development/libraries/qrencode {
|
||||||
|
inherit (darwin) libobjc;
|
||||||
|
};
|
||||||
|
|
||||||
geeqie = callPackage ../applications/graphics/geeqie { };
|
geeqie = callPackage ../applications/graphics/geeqie { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue