rmfakecloud.ui: migrate to prefetch-yarn-deps
This commit is contained in:
parent
ec3ae8ddf6
commit
3987aeec02
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ version, src, stdenv, lib, fetchFromGitHub, fetchYarnDeps, fixup_yarn_lock, yarn, nodejs }:
|
||||
{ version, src, stdenv, lib, fetchFromGitHub, fetchYarnDeps, prefetch-yarn-deps, yarn, nodejs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit version src;
|
||||
|
@ -10,12 +10,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-37P+acjaeG7TCyLoIHIHsB+DCUOsQOJ1H9T5SgajtLc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ fixup_yarn_lock yarn nodejs ];
|
||||
nativeBuildInputs = [ prefetch-yarn-deps yarn nodejs ];
|
||||
|
||||
buildPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
cd ui
|
||||
fixup_yarn_lock yarn.lock
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
|
||||
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress
|
||||
patchShebangs node_modules
|
||||
|
|
Loading…
Reference in a new issue