perf(nix): build the test window with the constant stamp too

komorebi-testwin-e2e is the e2e build's test window, so a change to it
rebuilds the crate and not its dependencies (86 s instead of minutes);
build-ref.sh uses it.
This commit is contained in:
LGUG2Z committed 2026-10-30 18:22:45 -07:00
1 parent 0c21138e25
commit b1d053b358
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ for package in komorebi komorebic; do
path=$(nix build "$tree#$package" --no-link --print-out-paths)
cp "$path/bin/$package.exe" "$out/"
done
path=$(nix build "$root#komorebi-testwin" --no-link --print-out-paths)
path=$(nix build "$root#komorebi-testwin-e2e" --no-link --print-out-paths)
cp "$path/bin/komorebi-testwin.exe" "$out/"
chmod u+w "$out"/*.exe
echo "$commit" > "$out/commit"
+3
View File
@@ -431,6 +431,9 @@
komorebi-e2e-agent
;
inherit windowsSdk;
# the test window of the Windows e2e guest, built with the constant
# stamp: a new commit does not rebuild what it depends on
komorebi-testwin-e2e = e2eBuild.komorebi-testwin;
komorebi-full = build.fullBuild;
default = build.fullBuild;
};