Merge pull request #195435 from wegank/gtk4-darwin

gtk4: fix build on darwin
This commit is contained in:
Jan Tojnar 2022-10-11 20:36:53 +02:00 committed by GitHub
commit ee9aa033c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -93,6 +93,7 @@ stdenv.mkDerivation rec {
sassc
gi-docgen
libxml2 # for xmllint
] ++ lib.optionals waylandSupport [
wayland-scanner
] ++ setupHooks;

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv }:
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv, libobjc }:
stdenv.mkDerivation rec {
pname = "qrencode";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv libobjc ];
configureFlags = [
"--with-tests"

View file

@ -28613,7 +28613,9 @@ with pkgs;
qrcodegen = callPackage ../development/libraries/qrcodegen { };
qrencode = callPackage ../development/libraries/qrencode { };
qrencode = callPackage ../development/libraries/qrencode {
inherit (darwin) libobjc;
};
geeqie = callPackage ../applications/graphics/geeqie { };