helix, evil-helix: use lambdas instead of `rec` attrs (#413862)

authored by Yohann Boniface and committed by GitHub 1c46a14f ae1b5a76

+7 -7
+3 -3
pkgs/by-name/ev/evil-helix/package.nix
··· 7 7 rustPlatform, 8 8 }: 9 9 10 - rustPlatform.buildRustPackage rec { 10 + rustPlatform.buildRustPackage (final: { 11 11 pname = "evil-helix"; 12 12 version = "20250601"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "usagi-flow"; 16 16 repo = "evil-helix"; 17 - rev = "release-${version}"; 17 + tag = "release-${final.version}"; 18 18 hash = "sha256-bsl9ltPXEhkcnnHFAXQMyBCh1qd+UBV0XK2EcJOe+eg="; 19 19 }; 20 20 ··· 49 49 mainProgram = "hx"; 50 50 maintainers = with lib.maintainers; [ thiagokokada ]; 51 51 }; 52 - } 52 + })
+4 -4
pkgs/by-name/he/helix/package.nix
··· 8 8 nix-update-script, 9 9 }: 10 10 11 - rustPlatform.buildRustPackage rec { 11 + rustPlatform.buildRustPackage (final: { 12 12 pname = "helix"; 13 13 version = "25.07.1"; 14 14 15 15 # This release tarball includes source code for the tree-sitter grammars, 16 16 # which is not ordinarily part of the repository. 17 17 src = fetchzip { 18 - url = "https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-source.tar.xz"; 18 + url = "https://github.com/helix-editor/helix/releases/download/${final.version}/helix-${final.version}-source.tar.xz"; 19 19 hash = "sha256-Pj/lfcQXRWqBOTTWt6+Gk61F9F1UmeCYr+26hGdG974="; 20 20 stripRoot = false; 21 21 }; ··· 55 55 meta = { 56 56 description = "Post-modern modal text editor"; 57 57 homepage = "https://helix-editor.com"; 58 - changelog = "https://github.com/helix-editor/helix/blob/${version}/CHANGELOG.md"; 58 + changelog = "https://github.com/helix-editor/helix/blob/${final.version}/CHANGELOG.md"; 59 59 license = lib.licenses.mpl20; 60 60 mainProgram = "hx"; 61 61 maintainers = with lib.maintainers; [ ··· 64 64 zowoq 65 65 ]; 66 66 }; 67 - } 67 + })