Files
nixpkgs/pkgs/kde/lib/move-outputs-hook.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
448 B
Bash
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
# shellcheck shell=bash
# shellcheck disable=SC2154
moveKF6Outputs() {
if [ -n "$devtools" ]; then
mkdir -p "$devtools"
moveToOutput "${qtPluginPrefix}/designer" "$devtools"
fi
if [ -n "$python" ]; then
mkdir -p "$python"
moveToOutput 'lib/python*' "$python"
moveToOutput 'share/PySide6' "$python"
moveToOutput 'include/PySide6' "$python"
fi
}
postInstallHooks+=('moveKF6Outputs')