deploy-rs: add passthru.updateScript

(cherry picked from commit 059184dc91)
This commit is contained in:
Lin Jian
2026-08-01 11:54:12 +08:00
committed by github-actions[bot]
parent 4c0f3912e0
commit eb12da3ffb

View File

@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage {
@@ -17,6 +18,8 @@ rustPlatform.buildRustPackage {
cargoHash = "sha256-9O93YTEz+e2oxenE0gwxsbz55clbKo9+37yVOqz7ErE=";
passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
meta = {
description = "Multi-profile Nix-flake deploy tool";
homepage = "https://github.com/serokell/deploy-rs";