mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
gem-config: Add missing dependencies for gio and gtk2
This commit is contained in:
parent
7ee05feb4e
commit
6fa5ea6e6b
1 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
||||||
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
|
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
|
||||||
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
|
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
|
||||||
, cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick, libcxx, file
|
, cairo, re2, rake, gobjectIntrospection, gdk_pixbuf, zeromq, graphicsmagick, libcxx, file
|
||||||
|
, libselinux ? null, libsepol ? null
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -156,7 +157,7 @@ in
|
||||||
|
|
||||||
gio2 = attrs: {
|
gio2 = attrs: {
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ gtk2 pcre gobjectIntrospection ];
|
buildInputs = [ gtk2 pcre gobjectIntrospection ] ++ lib.optionals stdenv.isLinux [ utillinux libselinux libsepol ];
|
||||||
};
|
};
|
||||||
|
|
||||||
gitlab-markup = attrs: { meta.priority = 1; };
|
gitlab-markup = attrs: { meta.priority = 1; };
|
||||||
|
@ -167,7 +168,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk2 = attrs: {
|
gtk2 = attrs: {
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ] ++ lib.optionals stdenv.isLinux [ utillinux libselinux libsepol ];
|
||||||
buildInputs = [ gtk2 pcre xorg.libpthreadstubs xorg.libXdmcp];
|
buildInputs = [ gtk2 pcre xorg.libpthreadstubs xorg.libXdmcp];
|
||||||
# CFLAGS must be set for this gem to detect gdkkeysyms.h correctly
|
# CFLAGS must be set for this gem to detect gdkkeysyms.h correctly
|
||||||
CFLAGS = "-I${gtk2.dev}/include/gtk-2.0 -I/non-existent-path";
|
CFLAGS = "-I${gtk2.dev}/include/gtk-2.0 -I/non-existent-path";
|
||||||
|
|
Loading…
Reference in a new issue