Commit 78090fd9 authored by Matthieu Coudron's avatar Matthieu Coudron Committed by Matthieu Coudron
Browse files

kubernetes-helm-wrapped: fix the wrapper

placeholder out doesn't return a full store path so fixing the derivation
parent e03daba0
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -10,8 +10,6 @@ let
  let

  initialMakeWrapperArgs = [
      "${helm}/bin/helm" "${placeholder "out"}/bin/helm"
      "--argv0" "$0" "--set" "HELM_PLUGINS" "${pluginsDir}"
  ];

  pluginsDir = symlinkJoin {
@@ -26,7 +24,8 @@ in
    # extra actions upon
    postBuild = ''
      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 ];