3
0
Fork 0
forked from mirrors/nixpkgs

wrapQtAppsHook: only run the hook once

This commit is contained in:
Thomas Tuegel 2021-01-12 05:44:39 -06:00
parent 3320cdf9f1
commit 67b7cffaec
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -1,3 +1,6 @@
if [[ -z "${__nix_wrapQtAppsHook-}" ]]; then
__nix_wrapQtAppsHook=1 # Don't run this hook more than once.
# Inherit arguments given in mkDerivation
qtWrapperArgs=( ${qtWrapperArgs-} )
@ -100,3 +103,5 @@ wrapQtAppsHook() {
}
fixupOutputHooks+=(wrapQtAppsHook)
fi