commit efcefa3f48e143404cc1111b4510f81b89d97535
parent a95a107bb851785377fb65d884a21900f708f105
Author: Silas Brack <silasbrack@gmail.com>
Date: Sun, 14 Jun 2026 15:19:40 +0200
fix: handle multiple nix output paths in bench.sh
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bench.sh b/bench.sh
@@ -6,7 +6,7 @@ DB_PATH=/tmp/swa-bench/app.db
ADDR="0.0.0.0:$PORT"
BASE="http://localhost:$PORT"
HEY=$(nix build nixpkgs#hey --print-out-paths --no-link 2>/dev/null)/bin/hey
-SQLITE=$(nix build nixpkgs#sqlite --print-out-paths --no-link 2>/dev/null)/bin/sqlite3
+SQLITE=$(nix build nixpkgs#sqlite --print-out-paths --no-link 2>/dev/null | head -1)/bin/sqlite3
# Build release
echo "Building release..."