mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
drawio: migrate to prefetch-yarn-deps
This commit is contained in:
parent
d046cedfeb
commit
ffab8d1a37
@ -4,7 +4,7 @@
|
||||
, fetchYarnDeps
|
||||
, makeDesktopItem
|
||||
, copyDesktopItems
|
||||
, fixup_yarn_lock
|
||||
, prefetch-yarn-deps
|
||||
, makeWrapper
|
||||
, nodejs
|
||||
, yarn
|
||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup_yarn_lock
|
||||
prefetch-yarn-deps
|
||||
makeWrapper
|
||||
nodejs
|
||||
yarn
|
||||
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
export HOME="$TMPDIR"
|
||||
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
|
||||
patchShebangs node_modules/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user