about summary refs log tree commit diff
path: root/pkgs/applications/editors/helix
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2022-04-29 06:27:12 +1000
committerGitHub <noreply@github.com>2022-04-29 06:27:12 +1000
commitd40b56dd307eb30014b28886c57ebb057138e7ab (patch)
tree31370f6838423724d0b4fa0265a2eb9eca485504 /pkgs/applications/editors/helix
parent1bff69d371637ba709b49e6691e242bd030b2eee (diff)
helix: remove grammar source (#170683)
not needed at runtime, bloats the package closure unnecessarily
Diffstat (limited to 'pkgs/applications/editors/helix')
-rw-r--r--pkgs/applications/editors/helix/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix
index fb1abcd6cffe3..cb948b99065d3 100644
--- a/pkgs/applications/editors/helix/default.nix
+++ b/pkgs/applications/editors/helix/default.nix
@@ -17,6 +17,9 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ makeWrapper ];
 
   postInstall = ''
+    # not needed at runtime
+    rm -r runtime/grammars/sources
+
     mkdir -p $out/lib
     cp -r runtime $out/lib
   '';