kdePackages.mkKdeDerivation: move Qt Designer plugins out of $dev
Or they end up picked up by the build hooks
This commit is contained in:
parent
8596068d46
commit
28fabd0ef7
@ -91,7 +91,7 @@ in
|
||||
defaultArgs = {
|
||||
inherit version src;
|
||||
|
||||
outputs = ["out" "dev"];
|
||||
outputs = ["out" "dev" "devtools"];
|
||||
|
||||
nativeBuildInputs = [cmake qt6.wrapQtAppsHook moveDevHook] ++ extraNativeBuildInputs;
|
||||
buildInputs = [qt6.qtbase] ++ extraBuildInputs;
|
||||
|
@ -2,7 +2,10 @@
|
||||
# shellcheck disable=SC2154
|
||||
|
||||
moveKF6DevTools() {
|
||||
moveToOutput "${qtPluginPrefix}/designer" "${!outputDev}"
|
||||
if [ -n "$devtools" ]; then
|
||||
mkdir -p "$devtools"
|
||||
moveToOutput "${qtPluginPrefix}/designer" "$devtools"
|
||||
fi
|
||||
}
|
||||
|
||||
postInstallHooks+=('moveKF6DevTools')
|
||||
|
Loading…
Reference in New Issue
Block a user