Merge pull request #123497 from stephank/fix-prometheus-wireguard-exporter-darwin

prometheus-wireguard-exporter: fix darwin build

authored by

Maximilian Bosch and committed by
GitHub
30d16a42 1b1faeb2

+2 -2
+2 -2
pkgs/servers/monitoring/prometheus/wireguard-exporter.nix
··· 1 - { stdenv, rustPlatform, fetchFromGitHub, lib, Security, nixosTests }: 1 + { stdenv, rustPlatform, fetchFromGitHub, lib, libiconv, Security, nixosTests }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "wireguard-exporter"; ··· 13 13 14 14 cargoSha256 = "sha256-lNFsO7FSmH1+DLM7ID0vn6234qTdtUoaLSnqKcbHoXE="; 15 15 16 - buildInputs = lib.optional stdenv.isDarwin Security; 16 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 17 17 18 18 passthru.tests = { inherit (nixosTests.prometheus-exporters) wireguard; }; 19 19