findomain: fix darwin build (#123019)

This commit is contained in:
Stéphan Kochen 2021-05-14 23:36:55 +02:00 committed by GitHub
parent f91dcdd7b5
commit 2ff319e055
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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