wrapQtAppsHook: only run the hook once
This commit is contained in:
parent
3320cdf9f1
commit
67b7cffaec
|
@ -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
|
# Inherit arguments given in mkDerivation
|
||||||
qtWrapperArgs=( ${qtWrapperArgs-} )
|
qtWrapperArgs=( ${qtWrapperArgs-} )
|
||||||
|
|
||||||
|
@ -100,3 +103,5 @@ wrapQtAppsHook() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fixupOutputHooks+=(wrapQtAppsHook)
|
fixupOutputHooks+=(wrapQtAppsHook)
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue