mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 22:33:08 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
49 lines
979 B
Nix
49 lines
979 B
Nix
{ mkDerivation
|
|
, extra-cmake-modules
|
|
, wrapGAppsHook3
|
|
, glib
|
|
, gtk3
|
|
, karchive
|
|
, kcmutils
|
|
, kconfigwidgets
|
|
, ki18n
|
|
, kiconthemes
|
|
, kio
|
|
, knewstuff
|
|
, gsettings-desktop-schemas
|
|
, xsettingsd
|
|
, kdecoration
|
|
, sass
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kde-gtk-config";
|
|
nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook3 ];
|
|
dontWrapGApps = true; # There is nothing to wrap
|
|
buildInputs = [
|
|
ki18n
|
|
kio
|
|
glib
|
|
gtk3
|
|
karchive
|
|
kcmutils
|
|
kconfigwidgets
|
|
kiconthemes
|
|
knewstuff
|
|
gsettings-desktop-schemas
|
|
xsettingsd
|
|
kdecoration
|
|
sass
|
|
];
|
|
cmakeFlags = [
|
|
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
|
|
"-DGLIB_SCHEMAS_DIR=${gsettings-desktop-schemas.out}/"
|
|
];
|
|
# The gtkconfig KDED module will crash the daemon if the GSettings schemas
|
|
# aren't found.
|
|
patches = [ ./0001-gsettings-schemas-path.patch ];
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DGSETTINGS_SCHEMAS_PATH=\"$GSETTINGS_SCHEMAS_PATH\""
|
|
'';
|
|
}
|