From 9c72a1eb7111e34eab992c7f61ad4c3c3c2cc14e Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Wed, 22 Nov 2023 23:21:34 +0100 Subject: [PATCH] schildichat-web: migrate to prefetch-yarn-deps --- .../instant-messengers/schildichat/schildichat-web.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix index 1cba6c62a765..0803bcc37791 100644 --- a/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix +++ b/pkgs/applications/networking/instant-messengers/schildichat/schildichat-web.nix @@ -3,7 +3,7 @@ , fetchYarnDeps , nodejs , yarn -, fixup_yarn_lock +, prefetch-yarn-deps , writeText, jq, conf ? {} }: @@ -39,7 +39,7 @@ in stdenv.mkDerivation rec { sha256 = pinData.reactSdkYarnHash; }; - nativeBuildInputs = [ yarn fixup_yarn_lock jq nodejs ]; + nativeBuildInputs = [ yarn prefetch-yarn-deps jq nodejs ]; configurePhase = '' runHook preConfigure @@ -53,7 +53,7 @@ in stdenv.mkDerivation rec { mkdir -p $HOME pushd element-web - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn config --offline set yarn-offline-mirror $webOfflineCache yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules @@ -64,14 +64,14 @@ in stdenv.mkDerivation rec { popd pushd matrix-js-sdk - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn config --offline set yarn-offline-mirror $jsSdkOfflineCache yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules popd pushd matrix-react-sdk - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn config --offline set yarn-offline-mirror $reactSdkOfflineCache yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules scripts