mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
Merge pull request #269907 from Stunkymonkey/python311Packages.dash-migrate-prefetch-yarn-deps
python311Packages.dash: migrate to prefetch-yarn-deps
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
, nodejs
|
||||
, yarn
|
||||
, fixup_yarn_lock
|
||||
, prefetch-yarn-deps
|
||||
, fetchYarnDeps
|
||||
|
||||
, setuptools
|
||||
@@ -52,7 +52,7 @@ buildPythonPackage rec {
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
yarn
|
||||
fixup_yarn_lock
|
||||
prefetch-yarn-deps
|
||||
];
|
||||
|
||||
yarnDeps = fetchYarnDeps {
|
||||
@@ -66,7 +66,7 @@ buildPythonPackage rec {
|
||||
export HOME=$(mktemp -d)
|
||||
|
||||
yarn config --offline set yarn-offline-mirror ${yarnDeps}
|
||||
fixup_yarn_lock yarn.lock
|
||||
fixup-yarn-lock yarn.lock
|
||||
|
||||
substituteInPlace package.json --replace jlpm yarn
|
||||
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts
|
||||
|
||||
Reference in New Issue
Block a user