mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
drawio: migrate to prefetch-yarn-deps
This commit is contained in:
parent
d046cedfeb
commit
ffab8d1a37
@ -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/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user