mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
teleport: migrate to prefetch-yarn-deps
This commit is contained in:
parent
3832b75e4e
commit
39505338e1
@ -14,7 +14,7 @@
|
||||
, stdenv
|
||||
, xdg-utils
|
||||
, yarn
|
||||
, yarn2nix-moretea
|
||||
, prefetch-yarn-deps
|
||||
, nixosTests
|
||||
|
||||
, withRdpClient ? true
|
||||
@ -72,7 +72,7 @@ let
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
yarn
|
||||
yarn2nix-moretea.fixup_yarn_lock
|
||||
prefetch-yarn-deps
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
@ -81,7 +81,7 @@ let
|
||||
|
||||
buildPhase = ''
|
||||
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
|
||||
fixup_yarn_lock yarn.lock
|
||||
fixup-yarn-lock yarn.lock
|
||||
|
||||
yarn install --offline \
|
||||
--frozen-lockfile \
|
||||
|
Loading…
Reference in New Issue
Block a user