Merge pull request #269304 from Stunkymonkey/podman-desktop-migrate-prefetch-yarn-deps

podman-desktop: migrate to prefetch-yarn-deps
This commit is contained in:
Nick Cao 2023-11-23 22:00:26 -05:00 committed by GitHub
commit 5a09cb4b39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
, fetchFromGitHub
, fetchYarnDeps
, yarn
, fixup_yarn_lock
, prefetch-yarn-deps
, nodejs
, makeWrapper
, copyDesktopItems
@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
yarn
fixup_yarn_lock
prefetch-yarn-deps
nodejs
makeWrapper
copyDesktopItems
@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
export HOME="$TMPDIR"
yarn config --offline set yarn-offline-mirror "$offlineCache"
fixup_yarn_lock yarn.lock
fixup-yarn-lock yarn.lock
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules/