espflash: don't build xtask (#432824)

This commit is contained in:
Matthias Beyer
2025-09-05 11:52:15 +02:00
committed by GitHub
+5
View File
@@ -32,6 +32,11 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-dLX5FC5A3+Dr3Dex+YEAnDgNNOQYd2JgGujXWpnSNUo=";
cargoBuildFlags = [
"--exclude xtask"
"--workspace"
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd espflash \
--bash <($out/bin/espflash completions bash) \