Skip to content

Commit

Permalink
Merge pull request #326411 from mgit-at/node-exp
Browse files Browse the repository at this point in the history
prometheus-node-exporter: move to by-name
  • Loading branch information
mkg20001 authored Jul 12, 2024
2 parents 15173ed + 486d8c4 commit 8ba87fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests
# darwin
, CoreFoundation, IOKit
}:
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests, darwin }:

buildGoModule rec {
pname = "node_exporter";
Expand All @@ -20,7 +17,7 @@ buildGoModule rec {
# FIXME: tests fail due to read-only nix store
doCheck = false;

buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation IOKit ];
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation IOKit ]);

excludedPackages = [ "docs/node-mixin" ];

Expand Down
3 changes: 0 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26123,9 +26123,6 @@ with pkgs;
prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { };
prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { };
prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { };
prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix {
inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit;
};
prometheus-nut-exporter = callPackage ../servers/monitoring/prometheus/nut-exporter.nix { };
prometheus-openldap-exporter = callPackage ../servers/monitoring/prometheus/openldap-exporter.nix { } ;
prometheus-pgbouncer-exporter = callPackage ../servers/monitoring/prometheus/pgbouncer-exporter.nix { };
Expand Down

0 comments on commit 8ba87fc

Please sign in to comment.