Merge pull request #212564 from alyssais/libindicator-cross

libindicator-gtk2,libindicator-gtk3: fix cross
This commit is contained in:
John Ericson 2023-01-27 14:22:13 -05:00 committed by GitHub
commit 7f1db6c274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, lib, file
, pkg-config
, pkg-config, glib
, gtkVersion ? "3", gtk2, gtk3 }:
stdenv.mkDerivation rec {
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f";
};
nativeBuildInputs = [ pkg-config ];
strictDeps = true;
nativeBuildInputs = [ pkg-config glib ];
buildInputs = [ (if gtkVersion == "2" then gtk2 else gtk3) ];