schildichat-web: migrate to prefetch-yarn-deps
This commit is contained in:
parent
3832b75e4e
commit
9c72a1eb71
@ -3,7 +3,7 @@
|
|||||||
, fetchYarnDeps
|
, fetchYarnDeps
|
||||||
, nodejs
|
, nodejs
|
||||||
, yarn
|
, yarn
|
||||||
, fixup_yarn_lock
|
, prefetch-yarn-deps
|
||||||
, writeText, jq, conf ? {}
|
, writeText, jq, conf ? {}
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = pinData.reactSdkYarnHash;
|
sha256 = pinData.reactSdkYarnHash;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ yarn fixup_yarn_lock jq nodejs ];
|
nativeBuildInputs = [ yarn prefetch-yarn-deps jq nodejs ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
runHook preConfigure
|
runHook preConfigure
|
||||||
@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
|
|||||||
mkdir -p $HOME
|
mkdir -p $HOME
|
||||||
|
|
||||||
pushd element-web
|
pushd element-web
|
||||||
fixup_yarn_lock yarn.lock
|
fixup-yarn-lock yarn.lock
|
||||||
yarn config --offline set yarn-offline-mirror $webOfflineCache
|
yarn config --offline set yarn-offline-mirror $webOfflineCache
|
||||||
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
||||||
patchShebangs node_modules
|
patchShebangs node_modules
|
||||||
@ -64,14 +64,14 @@ in stdenv.mkDerivation rec {
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
pushd matrix-js-sdk
|
pushd matrix-js-sdk
|
||||||
fixup_yarn_lock yarn.lock
|
fixup-yarn-lock yarn.lock
|
||||||
yarn config --offline set yarn-offline-mirror $jsSdkOfflineCache
|
yarn config --offline set yarn-offline-mirror $jsSdkOfflineCache
|
||||||
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
||||||
patchShebangs node_modules
|
patchShebangs node_modules
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd matrix-react-sdk
|
pushd matrix-react-sdk
|
||||||
fixup_yarn_lock yarn.lock
|
fixup-yarn-lock yarn.lock
|
||||||
yarn config --offline set yarn-offline-mirror $reactSdkOfflineCache
|
yarn config --offline set yarn-offline-mirror $reactSdkOfflineCache
|
||||||
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
|
||||||
patchShebangs node_modules scripts
|
patchShebangs node_modules scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user