Merge pull request #269286 from Stunkymonkey/telepoport-migrate-prefetch-yarn-deps

teleport: migrate to prefetch-yarn-deps
This commit is contained in:
Felix Bühler 2023-11-23 22:40:52 +01:00 committed by GitHub
commit f974988b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \