mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 07:14:52 +00:00
electron-fiddle: migrate to prefetch-yarn-deps
This commit is contained in:
parent
2de2b92916
commit
c1677a5ddb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user