mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
crabfit-frontend: migrate to fixup-yarn-lock
This commit is contained in:
parent
19581e2ce8
commit
515d341613
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
||||||
fetchpatch,
|
fetchpatch,
|
||||||
nodejs,
|
nodejs,
|
||||||
yarn,
|
yarn,
|
||||||
fixup_yarn_lock,
|
fixup-yarn-lock,
|
||||||
google-fonts,
|
google-fonts,
|
||||||
api_url ? "http://127.0.0.1:3000",
|
api_url ? "http://127.0.0.1:3000",
|
||||||
frontend_url ? "crab.fit",
|
frontend_url ? "crab.fit",
|
||||||
|
@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
nodejs
|
nodejs
|
||||||
yarn
|
yarn
|
||||||
fixup_yarn_lock
|
fixup-yarn-lock
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
echo 'NEXT_PUBLIC_API_URL="${api_url}"' > .env.local
|
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 config --offline set yarn-offline-mirror ${finalAttrs.offlineCache}
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue