Skip to content

Commit

Permalink
coq.autosubst: refactor
Browse files Browse the repository at this point in the history
Rather than explicitely naming each revision, since they all use the same naming scheme, we
encode that scheme directly using `releaseRev`.
  • Loading branch information
jthulhu authored and vbgl committed Sep 20, 2024
1 parent 3a32617 commit 56501da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/coq-modules/autosubst/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
mkCoqDerivation {
pname = "autosubst";

release."1.7".rev = "v1.7";
releaseRev = v: "v${v}";

release."1.7".sha256 = "sha256-qoyteQ5W2Noxf12uACOVeHhPLvgmTzrvEo6Ts+FKTGI=";
release."1.8".rev = "v1.8";
release."1.8".sha256 = "sha256-n0lD8D+tjqkDDjFiE4CggxczOPS5TkEnxpB3zEwWZ2I=";

inherit version;
Expand Down

0 comments on commit 56501da

Please sign in to comment.