libindicator-gtk2,libindicator-gtk3: fix cross
Needs glib-mkenums. Set strictDeps to catch regressions.
This commit is contained in:
parent
5cf7d65f6a
commit
990c3b1f9c
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, lib, file
|
{ stdenv, fetchurl, lib, file
|
||||||
, pkg-config
|
, pkg-config, glib
|
||||||
, gtkVersion ? "3", gtk2, gtk3 }:
|
, gtkVersion ? "3", gtk2, gtk3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f";
|
sha256 = "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
strictDeps = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config glib ];
|
||||||
|
|
||||||
buildInputs = [ (if gtkVersion == "2" then gtk2 else gtk3) ];
|
buildInputs = [ (if gtkVersion == "2" then gtk2 else gtk3) ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue