We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a528765 commit 197e42eCopy full SHA for 197e42e
nix-tools/.buildkite/nix-tools-build.sh
@@ -68,6 +68,14 @@ nix build -f .buildkite/nix2 nix-tools.components.exes --no-link
68
echo
69
echo "--- Test index file truncation"
70
71
+# Build the derivation if it does not exist
72
+nix-build test/truncate-index.nix --no-link \
73
+ --arg nix-tools-path ./.buildkite/nix2 \
74
+ --argstr index-state "$index_state" \
75
+ --argstr hash "$expected_hash" \
76
+ -A indexTruncated
77
+
78
+# `--check` it as well in case hash exists already, but code no longer works
79
nix-build --check test/truncate-index.nix --no-link \
80
--arg nix-tools-path ./.buildkite/nix2 \
81
--argstr index-state "$index_state" \
0 commit comments