From 1ad46f797d3564269a2ab81b681e9c6e2735d8d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gutyina=20Gerg=C5=91?= Date: Sat, 8 Feb 2025 12:23:37 +0100 Subject: [PATCH] stylelint-lsp: fix build with noBrokenSymlinks --- pkgs/by-name/st/stylelint-lsp/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/st/stylelint-lsp/package.nix b/pkgs/by-name/st/stylelint-lsp/package.nix index 14a565d5e33e..2f52bc167ea8 100644 --- a/pkgs/by-name/st/stylelint-lsp/package.nix +++ b/pkgs/by-name/st/stylelint-lsp/package.nix @@ -44,6 +44,8 @@ stdenvNoCC.mkDerivation (finalAttrs: { pnpm --ignore-scripts prune --prod rm -rf node_modules/.pnpm/typescript* find -type f \( -name "*.ts" -o -name "*.map" \) -exec rm -rf {} + + # https://github.com/pnpm/pnpm/issues/3645 + find node_modules -xtype l -delete ''; installPhase = ''