write-good: remove node_modules/.bin

Fixes the build by removing broken symlinks.
This commit is contained in:
Matt Sturgeon
2025-02-12 11:22:44 +00:00
parent cdb2581682
commit 75f37a7523
+5
View File
@@ -19,6 +19,11 @@ buildNpmPackage rec {
dontNpmBuild = true;
postInstall = ''
# Remove the .bin directory as it contains broken symlinks
rm -rf $out/lib/node_modules/write-good/node_modules/.bin
'';
meta = {
description = "Naive linter for English prose";
homepage = "https://github.com/btford/write-good";