diff --git a/pkgs/development/libraries/kde-frameworks-5.6/default.nix b/pkgs/development/libraries/kde-frameworks-5.6/default.nix index 237dbdcc713e..a6f3d4ea389d 100644 --- a/pkgs/development/libraries/kde-frameworks-5.6/default.nix +++ b/pkgs/development/libraries/kde-frameworks-5.6/default.nix @@ -163,6 +163,8 @@ let kinit = super.kinit // { patches = [ ./kinit/kinit-libpath.patch ]; }; + kpackage = super.kpackage // { patches = [ ./kpackage/0001-allow-external-paths.patch ]; }; + kservice = super.kservice // { buildInputs = super.kservice.buildInputs ++ [kf5.kwindowsystem]; patches = diff --git a/pkgs/development/libraries/kde-frameworks-5.6/kpackage/0001-allow-external-paths.patch b/pkgs/development/libraries/kde-frameworks-5.6/kpackage/0001-allow-external-paths.patch new file mode 100644 index 000000000000..440e979c0086 --- /dev/null +++ b/pkgs/development/libraries/kde-frameworks-5.6/kpackage/0001-allow-external-paths.patch @@ -0,0 +1,25 @@ +From fbf10d2059fa1f19a0f0cfa2fda0abb6c435fa78 Mon Sep 17 00:00:00 2001 +From: Thomas Tuegel +Date: Wed, 28 Jan 2015 07:15:30 -0600 +Subject: [PATCH] allow external paths + +--- + src/kpackage/package.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/kpackage/package.cpp b/src/kpackage/package.cpp +index eb4a09b..f70f1a1 100644 +--- a/src/kpackage/package.cpp ++++ b/src/kpackage/package.cpp +@@ -758,7 +758,7 @@ PackagePrivate::PackagePrivate() + : QSharedData(), + fallbackPackage(0), + metadata(0), +- externalPaths(false), ++ externalPaths(true), + valid(false), + checkedValid(false) + { +-- +2.1.4 +