diff --git a/pkgs/kubenix.nix b/pkgs/kubenix.nix index dfb7215..2c69ca2 100644 --- a/pkgs/kubenix.nix +++ b/pkgs/kubenix.nix @@ -38,7 +38,7 @@ symlinkJoin { postBuild = '' wrapProgram $out/bin/kubenix \ --set PATH "$out/bin" \ - --run 'export KUBECONFIG=''${KUBECONFIG:-${kubeconfig}}' \ + --run 'export KUBECONFIG=''${KUBECONFIG:-${toString kubeconfig}}' \ --set KUBECTL_EXTERNAL_DIFF '${diff}' \ --set MANIFEST '${result}' '';