cargo-release: add nix-update-script
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
stdenv,
|
||||
curl,
|
||||
git,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -42,6 +43,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
# disable vendored-libgit2 and vendored-openssl
|
||||
buildNoDefaultFeatures = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = ''Cargo subcommand "release": everything about releasing a rust crate'';
|
||||
mainProgram = "cargo-release";
|
||||
|
||||
Reference in New Issue
Block a user