scooter: compile only scooter (#424244)

This commit is contained in:
Aleksana 2025-07-15 18:09:39 +08:00 committed by GitHub
commit fa4966631b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,6 +18,12 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true;
cargoHash = "sha256-kPweKXAitvODNoKTr2iB+qM9qMWGoKEQCxpkgrpnewY=";
# Ensure that only the `scooter` package is built (excluding `xtask`)
cargoBuildFlags = [
"--package"
"scooter"
];
# Many tests require filesystem writes which fail in Nix sandbox
doCheck = false;