renovate: fix build (#380602)

This commit is contained in:
Sefa Eyeoglu 2025-02-09 19:54:00 +01:00 committed by GitHub
commit a445e09777
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
yq '.engines.node = "${nodejs.version}"' -i package.json
pnpm build
pnpm prune --prod --ignore-scripts
find -name 'node_modules' -type d -exec rm -rf {} \; || true
pnpm install --offline --prod --ignore-scripts
''
# The optional dependency re2 is not built by pnpm and needs to be built manually.
# If re2 is not built, you will get an annoying warning when you run renovate.