summary refs log tree commit diff
path: root/pkgs/tools/networking/findomain/default.nix
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-14 23:36:55 +0200
committerGitHub <noreply@github.com>2021-05-14 17:36:55 -0400
commit2ff319e05531de0bf130e75bc2124cd53b1cce32 (patch)
treef16905ce4c025e498e5ec2141f0629760dee32b5 /pkgs/tools/networking/findomain/default.nix
parentf91dcdd7b52a8a3cad815847b2cd151ac137c5fa (diff)
downloadnixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.tar
nixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.tar.gz
nixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.tar.bz2
nixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.tar.lz
nixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.tar.xz
nixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.tar.zst
nixpkgs-2ff319e05531de0bf130e75bc2124cd53b1cce32.zip
findomain: fix darwin build (#123019)
Diffstat (limited to 'pkgs/tools/networking/findomain/default.nix')
-rw-r--r--pkgs/tools/networking/findomain/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/networking/findomain/default.nix b/pkgs/tools/networking/findomain/default.nix
index 3c60f5373a1..ddcb8579318 100644
--- a/pkgs/tools/networking/findomain/default.nix
+++ b/pkgs/tools/networking/findomain/default.nix
@@ -4,6 +4,7 @@
 , rustPlatform
 , installShellFiles
 , perl
+, libiconv
 , Security
 }:
 
@@ -21,7 +22,7 @@ rustPlatform.buildRustPackage rec {
   cargoSha256 = "sha256-FDiIM1LlWEFmiIvebdCsznkB7egspNKhY6xUXB838g8=";
 
   nativeBuildInputs = [ installShellFiles perl ];
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
 
   postInstall = ''
     installManPage ${pname}.1