mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 21:58:16 +00:00
Merge pull request #269299 from Stunkymonkey/r2modman-migrate-prefetch-yarn-deps
r2modman: migrate to prefetch-yarn-deps
This commit is contained in:
commit
3174c78bc3
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, yarn
|
||||
, fetchYarnDeps
|
||||
, fixup_yarn_lock
|
||||
, prefetch-yarn-deps
|
||||
, nodejs
|
||||
, electron
|
||||
, fetchFromGitHub
|
||||
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
yarn
|
||||
fixup_yarn_lock
|
||||
prefetch-yarn-deps
|
||||
nodejs
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||
export NODE_OPTIONS="--openssl-legacy-provider"
|
||||
export HOME=$(mktemp -d)
|
||||
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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user