Skip to content

Commit

Permalink
nix: use tag for rev in ctags derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
keegancsmith committed Oct 19, 2023
1 parent 328fcb7 commit 7cc2872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
in { default = import ./shell.nix { inherit pkgs; }; });
# Pin a specific version of universal-ctags to the same version as in cmd/symbols/ctags-install-alpine.sh.
overlays.ctags = self: super: rec {
my-universal-ctags = super.universal-ctags.overrideAttrs (old: {
my-universal-ctags = super.universal-ctags.overrideAttrs (old: rec {
version = "6.0.0";
src = super.fetchFromGitHub {
owner = "universal-ctags";
repo = "ctags";
rev = "3af413544a0ed0a4c52200894cfd6391f06d2e94";
rev = "v${version}";
sha256 = "sha256-XlqBndo8g011SDGp3zM7S+AQ0aCp6rpQlqJF6e5Dd6w=";
};
# disable checks, else we get `make[1]: *** No rule to make target 'optlib/cmake.c'. Stop.`
Expand Down

0 comments on commit 7cc2872

Please sign in to comment.