summary refs log tree commit diff
path: root/pkgs/applications/editors/helix/default.nix
diff options
context:
space:
mode:
authorLeona Maroni <dev@leona.is>2023-04-02 22:43:03 +0200
committerYt <happysalada@proton.me>2023-04-03 15:52:15 -0400
commitf8f13b5059c9bdcc0b318941034c4a602d63a072 (patch)
treec40dcc8d5f70bd6b83f7139c0cf5f0b2a1c3e609 /pkgs/applications/editors/helix/default.nix
parente077b75a15b3cef3412909a985848580e0ae6232 (diff)
downloadnixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.tar
nixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.tar.gz
nixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.tar.bz2
nixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.tar.lz
nixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.tar.xz
nixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.tar.zst
nixpkgs-f8f13b5059c9bdcc0b318941034c4a602d63a072.zip
helix: 22.11 -> 23.03
Diffstat (limited to 'pkgs/applications/editors/helix/default.nix')
-rw-r--r--pkgs/applications/editors/helix/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix
index 3b77d441e1c..caeb86d5551 100644
--- a/pkgs/applications/editors/helix/default.nix
+++ b/pkgs/applications/editors/helix/default.nix
@@ -2,17 +2,23 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "helix";
-  version = "22.12";
+  version = "23.03";
 
   # This release tarball includes source code for the tree-sitter grammars,
   # which is not ordinarily part of the repository.
   src = fetchzip {
     url = "https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-source.tar.xz";
-    sha256 = "sha256-En6SOyAPNPPzDGdm2XTjbGG0NQFGBVzjjoyCbdnHFao=";
+    hash = "sha256-FtY2V7za3WGeUaC2t2f63CcDUEg9zAS2cGUWI0YeGwk=";
     stripRoot = false;
   };
 
-  cargoSha256 = "sha256-oSS0LkLg2JSRLYoF0+FVQzFUJtFuVKtU2MWYenmFC0s=";
+  # should be removed, when tree-sitter is not used as a git checkout anymore
+  cargoLock = {
+    lockFile = ./Cargo.lock;
+    outputHashes = {
+      "tree-sitter-0.20.9" = "sha256-/PaFaASOT0Z8FpipX5uiRCjnv1kyZtg4B9+TnHA0yTY=";
+    };
+  };
 
   nativeBuildInputs = [ installShellFiles makeWrapper ];