diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-02-28 21:27:20 +1100 |
---|---|---|
committer | Stanisław Pitucha <stan.pitucha@envato.com> | 2023-03-01 21:10:05 +1100 |
commit | 99bbc28d2cca7e61810a14a53b1dff3ad1e3f393 (patch) | |
tree | 913ba379c7ae49ea71a0553d69811afdb5f83539 /pkgs/development/ruby-modules | |
parent | be9dae49504ccff704f89efad739abe56b6e612d (diff) |
rubyPackages.libxml-ruby: fix darwin build
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 9a0c93038b45f..c9729649a6168 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -403,6 +403,9 @@ in buildFlags = [ "--with-xml2-lib=${libxml2.out}/lib" "--with-xml2-include=${libxml2.dev}/include/libxml2" + ] ++ lib.optionals stdenv.isDarwin [ + "--with-iconv-dir=${libiconv}" + "--with-opt-include=${libiconv}/include" ]; }; |