wrapQtAppsHook: only run the hook once
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user