akkoma-fe: Migrate to prefetch-yarn-deps

cf. <https://github.com/NixOS/nixpkgs/issues/240174>
This commit is contained in:
Mikael Voss 2023-08-18 14:36:28 +02:00 committed by Yaya
parent 0a8e3e0748
commit 82ff38ce4a

View File

@ -1,7 +1,7 @@
{ lib
, stdenv
, fetchFromGitea, fetchYarnDeps
, fixup_yarn_lock, yarn, nodejs
, prefetch-yarn-deps, yarn, nodejs
, jpegoptim, oxipng, nodePackages
}:
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
fixup_yarn_lock
prefetch-yarn-deps
yarn
nodejs
jpegoptim
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
export HOME="$(mktemp -d)"
yarn config --offline set yarn-offline-mirror ${lib.escapeShellArg offlineCache}
fixup_yarn_lock yarn.lock
fixup-yarn-lock yarn.lock
yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive