Merge pull request #269286 from Stunkymonkey/telepoport-migrate-prefetch-yarn-deps
teleport: migrate to prefetch-yarn-deps
This commit is contained in:
commit
f974988b73
@ -14,7 +14,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
, yarn
|
, yarn
|
||||||
, yarn2nix-moretea
|
, prefetch-yarn-deps
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
|
||||||
, withRdpClient ? true
|
, withRdpClient ? true
|
||||||
@ -72,7 +72,7 @@ let
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs
|
nodejs
|
||||||
yarn
|
yarn
|
||||||
yarn2nix-moretea.fixup_yarn_lock
|
prefetch-yarn-deps
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
@ -81,7 +81,7 @@ let
|
|||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
|
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
|
||||||
fixup_yarn_lock yarn.lock
|
fixup-yarn-lock yarn.lock
|
||||||
|
|
||||||
yarn install --offline \
|
yarn install --offline \
|
||||||
--frozen-lockfile \
|
--frozen-lockfile \
|
||||||
|
Loading…
Reference in New Issue
Block a user