Merge pull request #323883 from Stunkymonkey/crabfit-frontend-fixup-fixup-yarn-lock

crabfit-frontend: migrate to fixup-yarn-lock
This commit is contained in:
Aleksana 2024-07-04 12:36:21 +08:00 committed by GitHub
commit 181a5c00d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@
fetchpatch,
nodejs,
yarn,
fixup_yarn_lock,
fixup-yarn-lock,
google-fonts,
api_url ? "http://127.0.0.1:3000",
frontend_url ? "crab.fit",
@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
nodejs
yarn
fixup_yarn_lock
fixup-yarn-lock
];
postPatch = ''
@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
echo 'NEXT_PUBLIC_API_URL="${api_url}"' > .env.local
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