drawio: ensure node_modules is created (#411449)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-11 22:25:18 +02:00
committed by GitHub
@@ -57,6 +57,9 @@ stdenv.mkDerivation rec {
export HOME="$TMPDIR"
yarn config --offline set yarn-offline-mirror "$offlineCache"
fixup-yarn-lock yarn.lock
# Ensure that the node_modules folder is created by yarn install.
# See https://github.com/yarnpkg/yarn/issues/5500#issuecomment-1221456246
echo "nodeLinker: node-modules" > .yarnrc.yml
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules/