Unverified Commit bf171e89 authored by dish's avatar dish Committed by GitHub
Browse files

fish-lsp: prune dependencies before installing (#480098)

parents 9761487f c9fb13d5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -53,6 +53,10 @@ stdenv.mkDerivation (finalAttrs: {
  installPhase = ''
    runHook preInstall

    rm -rf node_modules
    yarn install --frozen-lockfile --force --production=true --ignore-engines \
      --ignore-platform --ignore-scripts --no-progress --non-interactive --offline

    mkdir -p $out/share/fish-lsp
    cp -r . $out/share/fish-lsp