Merge pull request #269319 from Stunkymonkey/tandoor-recipes-migrate-prefetch-yarn-deps
tandoor-recipes: migrate to prefetch-yarn-deps
This commit is contained in:
commit
40de593842
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchYarnDeps, fixup_yarn_lock, callPackage, nodejs }:
|
||||
{ stdenv, fetchYarnDeps, prefetch-yarn-deps, callPackage, nodejs }:
|
||||
let
|
||||
common = callPackage ./common.nix { };
|
||||
in
|
||||
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup_yarn_lock
|
||||
prefetch-yarn-deps
|
||||
nodejs
|
||||
nodejs.pkgs.yarn
|
||||
];
|
||||
@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$yarnOfflineCache"
|
||||
fixup_yarn_lock yarn.lock
|
||||
fixup-yarn-lock yarn.lock
|
||||
command -v yarn
|
||||
yarn install --frozen-lockfile --offline --no-progress --non-interactive
|
||||
patchShebangs node_modules/
|
||||
|
Loading…
Reference in New Issue
Block a user