From b5dc95c847893857f02579118f7dfb37b580746e Mon Sep 17 00:00:00 2001 From: Cody McGinnis Date: Tue, 4 Jun 2024 14:06:09 -0400 Subject: [PATCH] allow kubeconfig to not be set (#65) Co-authored-by: Cody McGinnis --- pkgs/kubenix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}' '';