From 06a7ddb5f8b57f08dcf373c2c1d4f2ea71027655 Mon Sep 17 00:00:00 2001 From: Cody McGinnis Date: Tue, 4 Jun 2024 02:15:27 +0000 Subject: [PATCH] allow kubeconfig to not be set --- 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}' '';