diff options
author | OPNA2608 <opna2608@protonmail.com> | 2024-02-07 17:37:50 +0100 |
---|---|---|
committer | OPNA2608 <opna2608@protonmail.com> | 2024-05-04 19:44:26 +0200 |
commit | 0a0c18e1b6a2c6cd7f7d4f5bd8890041b38f331d (patch) | |
tree | 9ac76b0bbb1a45130b41b94bd77445d5df3e259e /pkgs/by-name/ni | |
parent | 9e9b8af617d578ae9bed1b9c3b0a6bab4e00776e (diff) |
nix-search-cli: unstable-2023-09-12 -> 0-unstable-2023-09-12
Diffstat (limited to 'pkgs/by-name/ni')
-rw-r--r-- | pkgs/by-name/ni/nix-search-cli/package.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/by-name/ni/nix-search-cli/package.nix b/pkgs/by-name/ni/nix-search-cli/package.nix index 56bde6ac04c22..daf80cf9a7728 100644 --- a/pkgs/by-name/ni/nix-search-cli/package.nix +++ b/pkgs/by-name/ni/nix-search-cli/package.nix @@ -6,7 +6,7 @@ buildGoModule { pname = "nix-search-cli"; - version = "unstable-2023-09-12"; + version = "0-unstable-2023-09-12"; src = fetchFromGitHub { owner = "peterldowns"; @@ -17,7 +17,11 @@ buildGoModule { vendorHash = "sha256-JDOu7YdX9ztMZt0EFAMz++gD7n+Mn1VOe5g6XwrgS5M="; - passthru.updateScript = unstableGitUpdater { }; + passthru.updateScript = unstableGitUpdater { + # Almost every commit is tagged as "release-<unix-time>-<commit>", software doesn't keep track of its version + # Using 0 feels closer to what the tagging is trying to express + hardcodeZeroVersion = true; + }; meta = with lib; { description = "CLI for searching packages on search.nixos.org"; |