+12
-2
pkgs/development/libraries/libnotify/default.nix
+12
-2
pkgs/development/libraries/libnotify/default.nix
···
7
7
, docbook-xsl-ns
8
8
, glib
9
9
, gdk-pixbuf
10
+
, gnome
11
+
, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform)
10
12
, gobject-introspection
11
-
, gnome
12
13
}:
13
14
14
15
stdenv.mkDerivation rec {
···
27
28
"-Dtests=false"
28
29
"-Ddocbook_docs=disabled"
29
30
"-Dgtk_doc=false"
31
+
"-Dintrospection=${if withIntrospection then "enabled" else "disabled"}"
30
32
];
31
33
34
+
strictDeps = true;
35
+
32
36
nativeBuildInputs = [
33
-
gobject-introspection
34
37
meson
35
38
ninja
36
39
pkg-config
37
40
libxslt
38
41
docbook-xsl-ns
42
+
glib # for glib-mkenums needed during the build
43
+
] ++ lib.optionals withIntrospection [
44
+
gobject-introspection
45
+
];
46
+
47
+
buildInputs = lib.optionals withIntrospection [
48
+
gobject-introspection
39
49
];
40
50
41
51
propagatedBuildInputs = [