From dd6c677c4d49ddb2f8c00e68b542acd48a917c7a Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sat, 25 Nov 2023 13:09:01 +0100 Subject: [PATCH] grafana-agent: migrate to prefetch-yarn-deps --- pkgs/servers/monitoring/grafana-agent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix index a970b998065a..bf341c0bfb17 100644 --- a/pkgs/servers/monitoring/grafana-agent/default.nix +++ b/pkgs/servers/monitoring/grafana-agent/default.nix @@ -2,7 +2,7 @@ , buildGoModule , fetchFromGitHub , fetchYarnDeps -, fixup_yarn_lock +, prefetch-yarn-deps , grafana-agent , nixosTests , nodejs @@ -43,7 +43,7 @@ buildGoModule rec { "-X ${prefix}.BuildDate=1980-01-01T00:00:00Z" ]; - nativeBuildInputs = [ fixup_yarn_lock nodejs yarn ]; + nativeBuildInputs = [ prefetch-yarn-deps nodejs yarn ]; tags = [ "builtinassets" @@ -62,7 +62,7 @@ buildGoModule rec { export HOME="$TMPDIR" pushd web/ui - fixup_yarn_lock yarn.lock + fixup-yarn-lock yarn.lock yarn config --offline set yarn-offline-mirror $frontendYarnOfflineCache yarn install --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive patchShebangs node_modules