mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
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
|
||||
qtWrapperArgs=( ${qtWrapperArgs-} )
|
||||
|
||||
@ -100,3 +103,5 @@ wrapQtAppsHook() {
|
||||
}
|
||||
|
||||
fixupOutputHooks+=(wrapQtAppsHook)
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user