diff --git a/pkgs/by-name/ca/cargo-typify/package.nix b/pkgs/by-name/ca/cargo-typify/package.nix index 6693776c04ed..b1df6a27aaa1 100644 --- a/pkgs/by-name/ca/cargo-typify/package.nix +++ b/pkgs/by-name/ca/cargo-typify/package.nix @@ -1,4 +1,4 @@ -{ lib, rustfmt, rustPlatform, fetchFromGitHub }: +{ lib, rustfmt, rustPlatform, fetchFromGitHub, gitUpdater }: rustPlatform.buildRustPackage rec { pname = "cargo-typify"; @@ -22,6 +22,8 @@ rustPlatform.buildRustPackage rec { export RUSTFMT="${lib.getExe rustfmt}" ''; + passthru.updateScript = gitUpdater { rev-prefix = "v"; }; + meta = with lib; { description = "JSON Schema to Rust type converter"; mainProgram = "cargo-typify";