diff options
author | Felix Buehler <account@buehler.rocks> | 2023-11-22 22:49:38 +0100 |
---|---|---|
committer | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2023-12-03 13:37:47 +0100 |
commit | 3987aeec024ad4e9147e14227dc15599f03d83d8 (patch) | |
tree | 574efd2c2fc8ca8be8824cbb58e9b0dcc597bc7b /pkgs/servers | |
parent | ec3ae8ddf699f31aced16ec9e0ef74bef689a9c3 (diff) |
rmfakecloud.ui: migrate to prefetch-yarn-deps
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/rmfakecloud/webui.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/servers/rmfakecloud/webui.nix b/pkgs/servers/rmfakecloud/webui.nix index f870dc013b5a3..2555bf50801cc 100644 --- a/pkgs/servers/rmfakecloud/webui.nix +++ b/pkgs/servers/rmfakecloud/webui.nix @@ -1,4 +1,4 @@ -{ version, src, stdenv, lib, fetchFromGitHub, fetchYarnDeps, fixup_yarn_lock, yarn, nodejs }: +{ version, src, stdenv, lib, fetchFromGitHub, fetchYarnDeps, prefetch-yarn-deps, yarn, nodejs }: stdenv.mkDerivation rec { inherit version src; @@ -10,12 +10,12 @@ stdenv.mkDerivation rec { sha256 = "sha256-37P+acjaeG7TCyLoIHIHsB+DCUOsQOJ1H9T5SgajtLc="; }; - nativeBuildInputs = [ fixup_yarn_lock yarn nodejs ]; + nativeBuildInputs = [ prefetch-yarn-deps yarn nodejs ]; buildPhase = '' export HOME=$(mktemp -d) cd ui - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn config --offline set yarn-offline-mirror ${yarnOfflineCache} yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress patchShebangs node_modules |