Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

breeze-gtk: fix build

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>

+28
+3
pkgs/desktops/plasma-5/breeze-gtk.nix
··· 6 name = "breeze-gtk"; 7 nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ]; 8 buildInputs = [ qtbase ]; 9 postPatch = '' 10 sed -i cmake/FindGTKEngine.cmake \ 11 -e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
··· 6 name = "breeze-gtk"; 7 nativeBuildInputs = [ extra-cmake-modules sassc python3 python3.pkgs.pycairo breeze-qt5 ]; 8 buildInputs = [ qtbase ]; 9 + patches = [ 10 + ./patches/0001-fix-add-executable-bit.patch 11 + ]; 12 postPatch = '' 13 sed -i cmake/FindGTKEngine.cmake \ 14 -e "s|\''${KDE_INSTALL_FULL_LIBDIR}|${getLib gtk2}/lib|"
+25
pkgs/desktops/plasma-5/patches/0001-fix-add-executable-bit.patch
···
··· 1 + From da6a4651f74625f4c7f3c31f1125cfa4e774780b Mon Sep 17 00:00:00 2001 2 + From: Yaroslav Bolyukin <iam@lach.pw> 3 + Date: Mon, 27 Sep 2021 22:45:58 +0300 4 + Subject: [PATCH] fix: add executable bit 5 + 6 + Signed-off-by: Yaroslav Bolyukin <iam@lach.pw> 7 + --- 8 + src/CMakeLists.txt | 2 +- 9 + 1 file changed, 1 insertion(+), 1 deletion(-) 10 + 11 + diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 12 + index 79ff12d..4f3d746 100644 13 + --- a/src/CMakeLists.txt 14 + +++ b/src/CMakeLists.txt 15 + @@ -2,7 +2,7 @@ file(GLOB_RECURSE SCSS_SOURCES "*.scss") 16 + file(GLOB CSS_SOURCES "*.css") 17 + file(GLOB_RECURSE GTK2_SOURCES "gtk2/*") 18 + 19 + -configure_file(build_theme.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/build_theme.sh @ONLY) 20 + +configure_file(build_theme.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/build_theme.sh FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE @ONLY) 21 + 22 + set(SOURCES 23 + ${SCSS_SOURCES} 24 + -- 25 + 2.33.0