kubernetes / kubectl: move env variable(s) into env for structuredAttrs

Need to do this together to avoid eval complaints:
"error: The `env` attribute set cannot contain any attributes passed to derivation."
This commit is contained in:
Stefan Frijters
2026-02-17 12:43:29 +01:00
parent ef21d49208
commit ff6a7f493e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ kubernetes.overrideAttrs (_: {
"convert"
];
WHAT = lib.concatStringsSep " " [
env.WHAT = toString [
"cmd/kubectl"
"cmd/kubectl-convert"
];
+1 -1
View File
@@ -51,7 +51,7 @@ buildGoModule (finalAttrs: {
patches = [ ./fixup-addonmanager-lib-path.patch ];
WHAT = lib.concatStringsSep " " components;
env.WHAT = toString components;
buildPhase = ''
runHook preBuild