From d40b56dd307eb30014b28886c57ebb057138e7ab Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 29 Apr 2022 06:27:12 +1000 Subject: [PATCH] helix: remove grammar source (#170683) not needed at runtime, bloats the package closure unnecessarily --- pkgs/applications/editors/helix/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/helix/default.nix b/pkgs/applications/editors/helix/default.nix index fb1abcd6cffe..cb948b99065d 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 '';