drawio: migrate to prefetch-yarn-deps

This commit is contained in:
Felix Buehler 2023-11-22 23:28:51 +01:00 committed by Alyssa Ross
parent d046cedfeb
commit ffab8d1a37

View File

@ -4,7 +4,7 @@
, fetchYarnDeps , fetchYarnDeps
, makeDesktopItem , makeDesktopItem
, copyDesktopItems , copyDesktopItems
, fixup_yarn_lock , prefetch-yarn-deps
, makeWrapper , makeWrapper
, nodejs , nodejs
, yarn , yarn
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
fixup_yarn_lock prefetch-yarn-deps
makeWrapper makeWrapper
nodejs nodejs
yarn yarn
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
export HOME="$TMPDIR" export HOME="$TMPDIR"
yarn config --offline set yarn-offline-mirror "$offlineCache" yarn config --offline set yarn-offline-mirror "$offlineCache"
fixup_yarn_lock yarn.lock fixup-yarn-lock yarn.lock
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules/ patchShebangs node_modules/