Commit 82ff38ce authored by Mikael Voss's avatar Mikael Voss Committed by Yaya
Browse files

akkoma-fe: Migrate to prefetch-yarn-deps

parent 0a8e3e07
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{ 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