helix: remove grammar source (#170683)

not needed at runtime, bloats the package closure unnecessarily
This commit is contained in:
zowoq 2022-04-29 06:27:12 +10:00 committed by GitHub
parent 1bff69d371
commit d40b56dd30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
'';