prometheus-wireguard-exporter: fix darwin build
This commit is contained in:
parent
5cec01f440
commit
9284a2b99f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, rustPlatform, fetchFromGitHub, lib, Security, nixosTests }:
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, lib, libiconv, Security, nixosTests }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wireguard-exporter";
|
||||
|
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "sha256-lNFsO7FSmH1+DLM7ID0vn6234qTdtUoaLSnqKcbHoXE=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) wireguard; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue