···2525 ];26262727 # depsTargetTargetPropagated will essentially be buildInputs when wrapGAppsHook is placed into nativeBuildInputs2828- # the librsvg above should be removed but kept to not break anything that implicitly depended on its binaries2828+ # the librsvg and gtk3 above should be removed but kept to not break anything that implicitly depended on its binaries2929 depsTargetTargetPropagated = assert (lib.assertMsg (!targetPackages ? raw) "wrapGAppsHook must be in nativeBuildInputs"); lib.optionals isGraphical [3030 # librsvg provides a module for gdk-pixbuf to allow rendering3131 # SVG icons. Most icon themes are SVG-based and so are some3232 # graphics in GTK (e.g. cross for closing window in window title bar)3333 # so it is pretty much required for applications using GTK.3434 librsvg3535+3636+ # TODO: remove this, packages should depend on GTK explicitly.3737+ gtk33538 ] ++ lib.optionals (!stdenv.isDarwin) [3639 # It is highly probable that a program will use GSettings,3740 # at minimum through GTK file chooser dialogue.