helix: remove grammar source (#170683)

not needed at runtime, bloats the package closure unnecessarily
main
zowoq 2 years ago committed by GitHub
parent 1bff69d371
commit d40b56dd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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
'';

Loading…
Cancel
Save