ratman: migrate to prefetch-yarn-deps (#269285)
This commit is contained in:
parent
ecb742f56f
commit
d92daec27e
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
, protobuf
|
, protobuf
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchYarnDeps
|
, fetchYarnDeps
|
||||||
, fixup_yarn_lock
|
, prefetch-yarn-deps
|
||||||
, stdenv
|
, stdenv
|
||||||
, yarn
|
, yarn
|
||||||
, nodejs
|
, nodejs
|
||||||
|
@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
sha256 = "sha256-pWjKL41r/bTvWv+5qCgCFVL9+o64BiV2/ISdLeKEOqE=";
|
sha256 = "sha256-pWjKL41r/bTvWv+5qCgCFVL9+o64BiV2/ISdLeKEOqE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ yarn nodejs ];
|
nativeBuildInputs = [ yarn nodejs prefetch-yarn-deps ];
|
||||||
|
|
||||||
outputs = [ "out" "dist" ];
|
outputs = [ "out" "dist" ];
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
yarn config --offline set yarn-offline-mirror ${yarnDeps}
|
yarn config --offline set yarn-offline-mirror ${yarnDeps}
|
||||||
|
|
||||||
# Fixup "resolved"-entries in yarn.lock to match our offline cache
|
# Fixup "resolved"-entries in yarn.lock to match our offline cache
|
||||||
${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock
|
fixup-yarn-lock yarn.lock
|
||||||
|
|
||||||
yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive
|
yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue