Skip to content

Commit a95cf25

Browse files
committed
fix: push kubenixCI2 store paths to cachix in CI build step
The nocache CI variant (kubenixCI2) was failing because its nodeEnv store path was never explicitly pushed to cachix. The build-amd64 step only pushed kubenixPush closure. Add kubenixCI2.deploymentScript to the push script so the nocache variant's store paths reach cachix before the test job runs.
1 parent 19b38a6 commit a95cf25

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ rec {
149149
#! ${pkgs.runtimeShell}
150150
export PATH=${lib.makeBinPath [ pkgs.cachix ]}:$PATH
151151
# ${lib.concatStrings (lib.attrValues inputs)}
152-
nix-store -qR --include-outputs $(nix-store -qd ${kubenixPush.deploymentScript}) | grep -v '\.drv$' | cachix push nix-csi
152+
for drv in ${kubenixPush.deploymentScript} ${kubenixCI2.deploymentScript}; do
153+
nix-store -qR --include-outputs $(nix-store -qd "$drv") | grep -v '\.drv$' | cachix push nix-csi
154+
done
153155
'';
154156

155157
# Push environments for both x86_64-linux and aarch64-linux to cachix.

0 commit comments

Comments
 (0)