wrapGAppsHook: add gtk3 to depsTargetTargetPropagated
for typelibs and girs
This commit is contained in:
parent
2168611677
commit
2c471e6479
|
@ -25,13 +25,16 @@ makeSetupHook {
|
||||||
];
|
];
|
||||||
|
|
||||||
# depsTargetTargetPropagated will essentially be buildInputs when wrapGAppsHook is placed into nativeBuildInputs
|
# depsTargetTargetPropagated will essentially be buildInputs when wrapGAppsHook is placed into nativeBuildInputs
|
||||||
# the librsvg above should be removed but kept to not break anything that implicitly depended on its binaries
|
# the librsvg and gtk3 above should be removed but kept to not break anything that implicitly depended on its binaries
|
||||||
depsTargetTargetPropagated = assert (lib.assertMsg (!targetPackages ? raw) "wrapGAppsHook must be in nativeBuildInputs"); lib.optionals isGraphical [
|
depsTargetTargetPropagated = assert (lib.assertMsg (!targetPackages ? raw) "wrapGAppsHook must be in nativeBuildInputs"); lib.optionals isGraphical [
|
||||||
# librsvg provides a module for gdk-pixbuf to allow rendering
|
# librsvg provides a module for gdk-pixbuf to allow rendering
|
||||||
# SVG icons. Most icon themes are SVG-based and so are some
|
# SVG icons. Most icon themes are SVG-based and so are some
|
||||||
# graphics in GTK (e.g. cross for closing window in window title bar)
|
# graphics in GTK (e.g. cross for closing window in window title bar)
|
||||||
# so it is pretty much required for applications using GTK.
|
# so it is pretty much required for applications using GTK.
|
||||||
librsvg
|
librsvg
|
||||||
|
|
||||||
|
# TODO: remove this, packages should depend on GTK explicitly.
|
||||||
|
gtk3
|
||||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||||
# It is highly probable that a program will use GSettings,
|
# It is highly probable that a program will use GSettings,
|
||||||
# at minimum through GTK file chooser dialogue.
|
# at minimum through GTK file chooser dialogue.
|
||||||
|
|
Loading…
Reference in a new issue