nixpkgs/pkgs/kde/frameworks/knewstuff/delay-resolving-knsrcdir.patch
K900 ce77225e21 pkgs/kde: init at 6.0.0 / 24.02.0, the Nix bits
This is the thing you want to look at.
2024-02-28 18:49:23 +03:00

14 lines
482 B
Diff

diff --git a/KF6NewStuffCoreConfig.cmake.in b/KF6NewStuffCoreConfig.cmake.in
index d70f7132..f75e9fce 100644
--- a/KF6NewStuffCoreConfig.cmake.in
+++ b/KF6NewStuffCoreConfig.cmake.in
@@ -20,7 +20,7 @@ if (NOT @BUILD_SHARED_LIBS@)
endif()
endif()
-set(KDE_INSTALL_KNSRCDIR "@KDE_INSTALL_DATADIR@/knsrcfiles")
+set(KDE_INSTALL_KNSRCDIR "${KDE_INSTALL_DATADIR}/knsrcfiles")
include("${CMAKE_CURRENT_LIST_DIR}/KF6NewStuffCoreTargets.cmake")
@PACKAGE_INCLUDE_CORE_QCHTARGETS@