kubernetes-helm-wrapped: fix the wrapper
placeholder out doesn't return a full store path so fixing the derivation
This commit is contained in:
parent
e03daba08c
commit
78090fd990
@ -10,8 +10,6 @@ let
|
|||||||
let
|
let
|
||||||
|
|
||||||
initialMakeWrapperArgs = [
|
initialMakeWrapperArgs = [
|
||||||
"${helm}/bin/helm" "${placeholder "out"}/bin/helm"
|
|
||||||
"--argv0" "$0" "--set" "HELM_PLUGINS" "${pluginsDir}"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pluginsDir = symlinkJoin {
|
pluginsDir = symlinkJoin {
|
||||||
@ -26,7 +24,8 @@ in
|
|||||||
# extra actions upon
|
# extra actions upon
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
rm $out/bin/helm
|
rm $out/bin/helm
|
||||||
makeWrapper ${lib.escapeShellArgs initialMakeWrapperArgs} ${extraMakeWrapperArgs}
|
makeWrapper "${helm}/bin/helm" "$out/bin/helm" "--argv0" "$0" \
|
||||||
|
"--set" "HELM_PLUGINS" "${pluginsDir}" ${extraMakeWrapperArgs}
|
||||||
'';
|
'';
|
||||||
paths = [ helm pluginsDir ];
|
paths = [ helm pluginsDir ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user