helix: remove grammar source (#170683)
not needed at runtime, bloats the package closure unnecessarily
This commit is contained in:
parent
1bff69d371
commit
d40b56dd30
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue