diff --git a/modules/common/helix.nix b/modules/common/helix.nix index 8db9715..f81b697 100644 --- a/modules/common/helix.nix +++ b/modules/common/helix.nix @@ -6,6 +6,27 @@ in { shellAliases.x = "hx"; }; + nixpkgs.overlays = [(self: super: { + helix = super.helix.overrideAttrs (old: { + version = "25.01.1"; + + src = self.fetchzip { + url = "https://github.com/cull-os/helix/releases/download/ci-release-25.01.1/helix-ci-release-25.01.1-source.tar.xz"; + hash = "sha256-bvlzXRAdPvz8P49KENSw9gupQNaUm/+3eZZ1q7+fTsw="; + stripRoot = false; + }; + + # TODO: Delete this as this was fixed on latest unstable. + preVersionCheck = ""; + + cargoDeps = super.helix.cargoDeps.overrideAttrs (_: { + inherit (self.helix) src; + outputHash = "sha256-O5ECrKyF9x5r7w9wMIqbYYuGFIeUaRgtzDfYK9dFjp4="; + }); + }); + })]; + + home-manager.sharedModules = [{ programs.nushell.configFile.text = mkIf (config.isDesktop && config.isLinux) <| mkAfter '' def --wrapped hx [...arguments] {