Skip to content

Commit a445e09

Browse files
authored
renovate: fix build (#380602)
2 parents 3759d3a + 1a7523b commit a445e09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/by-name/re/renovate/package.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
5353
yq '.engines.node = "${nodejs.version}"' -i package.json
5454
5555
pnpm build
56-
pnpm prune --prod --ignore-scripts
56+
find -name 'node_modules' -type d -exec rm -rf {} \; || true
57+
pnpm install --offline --prod --ignore-scripts
5758
''
5859
# The optional dependency re2 is not built by pnpm and needs to be built manually.
5960
# If re2 is not built, you will get an annoying warning when you run renovate.

0 commit comments

Comments
 (0)