From e87e44dc1e53cf2f274ae6201a50cb7b76bd9959 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Wed, 22 Nov 2023 22:51:22 +0100 Subject: [PATCH] peertube: migrate to prefetch-yarn-deps --- pkgs/servers/peertube/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/peertube/default.nix b/pkgs/servers/peertube/default.nix index d4c20cf2dd7b..bc8dbde49845 100644 --- a/pkgs/servers/peertube/default.nix +++ b/pkgs/servers/peertube/default.nix @@ -6,7 +6,7 @@ , fetchYarnDeps , nixosTests , brotli -, fixup_yarn_lock +, prefetch-yarn-deps , jq , nodejs , which @@ -69,14 +69,14 @@ stdenv.mkDerivation rec { hash = "sha256-Ejzk/VEx7YtJpsrkHcXAZnJ+yRx1VhBJGpqquHYULNU="; }; - nativeBuildInputs = [ brotli fixup_yarn_lock jq nodejs which yarn ]; + nativeBuildInputs = [ brotli prefetch-yarn-deps jq nodejs which yarn ]; buildPhase = '' # Build node modules export HOME=$PWD - fixup_yarn_lock ~/yarn.lock - fixup_yarn_lock ~/server/tools/yarn.lock - fixup_yarn_lock ~/client/yarn.lock + fixup-yarn-lock ~/yarn.lock + fixup-yarn-lock ~/server/tools/yarn.lock + fixup-yarn-lock ~/client/yarn.lock yarn config --offline set yarn-offline-mirror $yarnOfflineCacheServer yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress cd ~/server/tools