Merge pull request #269302 from Stunkymonkey/electron-fiddle-migrate-prefetch-yarn-deps

electron-fiddle: migrate to prefetch-yarn-deps
This commit is contained in:
Felix Bühler 2024-03-26 18:41:56 +01:00 committed by GitHub
commit d50918bc1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
, fetchFromGitHub
, fetchYarnDeps
, fetchurl
, fixup_yarn_lock
, prefetch-yarn-deps
, git
, lib
, makeDesktopItem
@ -51,11 +51,11 @@ let
pname = "${pname}-unwrapped";
inherit version src;
nativeBuildInputs = [ fixup_yarn_lock git nodejs util-linux yarn zip ];
nativeBuildInputs = [ prefetch-yarn-deps git nodejs util-linux yarn zip ];
configurePhase = ''
export HOME=$TMPDIR
fixup_yarn_lock yarn.lock
fixup-yarn-lock yarn.lock
yarn config --offline set yarn-offline-mirror ${offlineCache}
yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules