Merge pull request #269310 from Stunkymonkey/thelounge-migrate-prefetch-yarn-deps

thelounge: migrate to prefetch-yarn-deps
This commit is contained in:
Felix Bühler 2024-03-25 20:55:50 +01:00 committed by GitHub
commit 383125f420
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
, fetchYarnDeps
, nodejs
, yarn
, fixup_yarn_lock
, prefetch-yarn-deps
, python3
, npmHooks
, darwin
@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-MM6SgVT7Pjdu96A4eWRucEzT7uNPxBqUDgHKl8mH2C0=";
};
nativeBuildInputs = [ nodejs yarn fixup_yarn_lock python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.isDarwin darwin.cctools;
nativeBuildInputs = [ nodejs yarn prefetch-yarn-deps python3 npmHooks.npmInstallHook ] ++ lib.optional stdenv.isDarwin darwin.cctools;
buildInputs = [ sqlite ];
configurePhase = ''
@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
export HOME="$PWD"
fixup_yarn_lock yarn.lock
fixup-yarn-lock yarn.lock
yarn config --offline set yarn-offline-mirror ${finalAttrs.offlineCache}
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive
patchShebangs node_modules