mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
prometheus-node-exporter: move to by-name
This change was primarly made to get rid of the inherit (darwin... hack, to make vendoring old versions of the exporter easier Co-authored-by: nicoo <nicoo@mur.at>
This commit is contained in:
parent
4909c78bef
commit
486d8c4a35
@ -1,7 +1,4 @@
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests
|
||||
# darwin
|
||||
, CoreFoundation, IOKit
|
||||
}:
|
||||
{ lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests, darwin }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "node_exporter";
|
||||
@ -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" ];
|
||||
|
@ -26135,9 +26135,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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user