From a84157d90746f2084ea2c2cddafb4e329f3773d1 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 1 Feb 2025 22:23:49 +0300 Subject: [PATCH] grafana: fix build on aarch64, take 2 Supersedes #378593. --- pkgs/servers/monitoring/grafana/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/grafana/default.nix b/pkgs/servers/monitoring/grafana/default.nix index c356fe023b58..9b87d7540547 100644 --- a/pkgs/servers/monitoring/grafana/default.nix +++ b/pkgs/servers/monitoring/grafana/default.nix @@ -60,7 +60,8 @@ buildGoModule rec { cacert jq moreutils - python3 + # required to run old node-gyp + (python3.withPackages (ps: [ ps.distutils ])) git # @esfx/equatable@npm:1.0.2 fails to build on darwin as it requires `xcbuild` ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild.xcbuild ]; @@ -102,7 +103,8 @@ buildGoModule rec { jq moreutils removeReferencesTo - python3 + # required to run old node-gyp + (python3.withPackages (ps: [ ps.distutils ])) faketty ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild.xcbuild ];