diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-03-02 20:46:29 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 20:46:29 +1100 |
commit | 4ebf4f8eac906903cd7d5bfc581681dfc2b12f98 (patch) | |
tree | 31a2fb5ec9f32de7c74bd9bfd7b53ac8eb1ce248 /pkgs/development/ruby-modules | |
parent | f3ddba6673c80333d800d8991ff71eaf3ac0845f (diff) | |
parent | 99bbc28d2cca7e61810a14a53b1dff3ad1e3f393 (diff) |
Merge pull request #218781 from viraptor/ruby-libxml-darwin
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 644641a4ffdf4..b6b1bb4b5d087 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -407,6 +407,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" ]; }; |