diff options
author | Frederick Schwalbe <frederick@fschwal.be> | 2023-08-14 19:23:47 +0200 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-08-16 08:36:34 +1000 |
commit | 820d55bb16b96b94e719096733158cd2c5d5dc57 (patch) | |
tree | 9243ae667bfdc8069513e464db5110dd169fe0f2 /pkgs/applications/editors/helix | |
parent | ed75ab352f3977f21c4ca6f55ef72023eac3527f (diff) |
helix: fix UB in diff gutter
Applies https://github.com/helix-editor/helix/pull/7227 as a patch until the fix is included in the next release.
Diffstat (limited to 'pkgs/applications/editors/helix')
-rw-r--r-- | pkgs/applications/editors/helix/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix index 53d9728ef0048..b75a6b11f9e98 100644 --- a/pkgs/applications/editors/helix/default.nix +++ b/pkgs/applications/editors/helix/default.nix @@ -1,4 +1,4 @@ -{ fetchzip, lib, rustPlatform, git, installShellFiles, makeWrapper }: +{ fetchpatch, fetchzip, lib, rustPlatform, git, installShellFiles, makeWrapper }: rustPlatform.buildRustPackage rec { pname = "helix"; @@ -14,6 +14,13 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-/LCtfyDAA2JuioBD/CDMv6OOxM0B9A3PpuVP/YY5oF0="; + patches = [ + (fetchpatch { + url = "https://patch-diff.githubusercontent.com/raw/helix-editor/helix/pull/7227.patch"; + hash = "sha256-dObMKHNJfc5TODUjZ28TVxuTen02rl8HzcXpFWnhB1k="; + }) + ]; + nativeBuildInputs = [ git installShellFiles makeWrapper ]; postInstall = '' |