Skip to content

Commit e7cb139

Browse files
n8n: fix build with noBrokenSymlinks (#380354)
2 parents 54fa31b + 2c1b82a commit e7cb139

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/n8/n8n/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ stdenv.mkDerivation (finalAttrs: {
7373
pnpm --ignore-scripts prune --prod
7474
find -type f \( -name "*.ts" -o -name "*.map" \) -exec rm -rf {} +
7575
rm -rf node_modules/.pnpm/{typescript*,prettier*}
76+
shopt -s globstar
77+
# https://github.com/pnpm/pnpm/issues/3645
78+
find node_modules packages/**/node_modules -xtype l -delete
7679
7780
echo "Removed non-deterministic and unnecessary files"
7881
'';

0 commit comments

Comments
 (0)