~aasg/nixexprs

13602af11fd6bd1993a14568515b281b0edb0463 — Aluísio Augusto Silva Gonçalves 4 months ago b9f9901
trust-dns: Add dependency on libiconv

libiconv is implicitly provided by glibc on linux-gnu, but on other
platforms it need to be added as a dependency explicitly.  (I'm fixing
a test on macOS, but this might apply to the BSDs as well.)
1 files changed, 4 insertions(+), 0 deletions(-)

M pkgs/servers/dns/trust-dns/default.nix
M pkgs/servers/dns/trust-dns/default.nix => pkgs/servers/dns/trust-dns/default.nix +4 -0
@@ 1,6 1,7 @@
{ lib
, callPackage
, defaultCrateOverrides
, libiconv
, features ? [ ]
}:



@@ 8,6 9,9 @@
  inherit features;
  crateOverrides = defaultCrateOverrides // {
    trust-dns = attrs: {
      builtInputs = [ libiconv ];
      extraLinkFlags = [ "-L${libiconv}/lib" ];

      meta = with lib; {
        description = "Rust-based DNS client, server, and resolver";
        homepage = "https://github.com/bluejekyll/trust-dns";