diff options
Diffstat (limited to 'pkgs/desktops/plasma-5/breeze-gtk.nix')
-rw-r--r-- | pkgs/desktops/plasma-5/breeze-gtk.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/desktops/plasma-5/breeze-gtk.nix b/pkgs/desktops/plasma-5/breeze-gtk.nix index 4048d98431db..cc51c4b0471c 100644 --- a/pkgs/desktops/plasma-5/breeze-gtk.nix +++ b/pkgs/desktops/plasma-5/breeze-gtk.nix @@ -1,11 +1,14 @@ -{ plasmaPackage -, extra-cmake-modules -, qtbase -}: +{ mkDerivation, lib, extra-cmake-modules, gtk2, qtbase, }: -plasmaPackage { +let inherit (lib) getLib; in + +mkDerivation { name = "breeze-gtk"; nativeBuildInputs = [ extra-cmake-modules ]; - cmakeFlags = [ "-DWITH_GTK3_VERSION=3.20" ]; buildInputs = [ qtbase ]; + postPatch = '' + sed -i cmake/FindGTKEngine.cmake \ + -e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|" + ''; + cmakeFlags = [ "-DWITH_GTK3_VERSION=3.22" ]; } |