···1818 in { default = import ./shell.nix { inherit pkgs; }; });
1919 # Pin a specific version of universal-ctags to the same version as in cmd/symbols/ctags-install-alpine.sh.
2020 overlays.ctags = self: super: rec {
2121- universal-ctags = super.universal-ctags.overrideAttrs (old: {
2222- version = "5.9.20220403.0";
2121+ my-universal-ctags = super.universal-ctags.overrideAttrs (old: {
2222+ version = "6.0.0";
2323 src = super.fetchFromGitHub {
2424 owner = "universal-ctags";
2525 repo = "ctags";
2626- rev = "f95bb3497f53748c2b6afc7f298cff218103ab90";
2727- sha256 = "sha256-pd89KERQj6K11Nue3YFNO+NLOJGqcMnHkeqtWvMFk38=";
2626+ rev = "3af413544a0ed0a4c52200894cfd6391f06d2e94";
2727+ sha256 = "sha256-XlqBndo8g011SDGp3zM7S+AQ0aCp6rpQlqJF6e5Dd6w=";
2828 };
2929 # disable checks, else we get `make[1]: *** No rule to make target 'optlib/cmake.c'. Stop.`
3030 doCheck = false;
3131 checkFlags = [ ];
3232 });
3333+ # The ctags in the registry currently is 6.0.0 so we can skip building in that case
3434+ universal-ctags = if super.universal-ctags.version == my-universal-ctags.version then super.universal-ctags else my-universal-ctags;
3335 };
3436 };
3537}