mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
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
|
||||
# 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 [
|
||||
# librsvg provides a module for gdk-pixbuf to allow rendering
|
||||
# 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)
|
||||
# so it is pretty much required for applications using GTK.
|
||||
librsvg
|
||||
|
||||
# TODO: remove this, packages should depend on GTK explicitly.
|
||||
gtk3
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
# It is highly probable that a program will use GSettings,
|
||||
# at minimum through GTK file chooser dialogue.
|
||||
|
Loading…
Reference in New Issue
Block a user