electron: migrate to fixup-yarn-lock from prefetch-yarn-deps (#269933)

authored by Felix Bühler and committed by GitHub 02266dc6 42e8dd45

+3 -3
+3 -3
pkgs/development/tools/electron/common.nix
··· 5 5 , python3 6 6 , fetchYarnDeps 7 7 , fetchNpmDeps 8 - , fixup_yarn_lock 8 + , prefetch-yarn-deps 9 9 , npmHooks 10 10 , yarn 11 11 , substituteAll ··· 27 27 inherit (info) version; 28 28 buildTargets = [ "electron:electron_dist_zip" ]; 29 29 30 - nativeBuildInputs = base.nativeBuildInputs ++ [ nodejs yarn fixup_yarn_lock unzip npmHooks.npmConfigHook ]; 30 + nativeBuildInputs = base.nativeBuildInputs ++ [ nodejs yarn prefetch-yarn-deps unzip npmHooks.npmConfigHook ]; 31 31 buildInputs = base.buildInputs ++ [ libnotify ]; 32 32 33 33 electronOfflineCache = fetchYarnDeps { ··· 107 107 cd electron 108 108 export HOME=$TMPDIR/fake_home 109 109 yarn config --offline set yarn-offline-mirror $electronOfflineCache 110 - fixup_yarn_lock yarn.lock 110 + fixup-yarn-lock yarn.lock 111 111 yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive 112 112 ) 113 113