awk-language-server: prune deps before installing (#577157)

This commit is contained in:
Sandro
2026-10-29 17:40:15 +00:00
committed by GitHub

View File

@@ -5,6 +5,7 @@
jq,
fetchYarnDeps,
yarn,
yarnConfigHook,
yarnBuildHook,
npmHooks,
@@ -47,9 +48,15 @@ stdenv.mkDerivation (finalAttrs: {
yarnBuildHook
npmHooks.npmInstallHook
nodejs
yarn
];
yarnBuildScript = "build:server";
# Prune deps before install to save space
preInstall = ''
yarn install --offline --frozen-lockfile --force --production=true --ignore-scripts
'';
dontNpmPrune = true;
meta = {