diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-10-25 02:45:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 02:45:51 -0500 |
commit | cbe6fd3473fc996cdd50398ffdccd849ad350baa (patch) | |
tree | 7af467fadb808ae096125b9b557f14a68eca8243 /pkgs | |
parent | ed217bcc358cc499104d8f214b1237d3c24d8597 (diff) | |
parent | d73cc1e58601a4d12cfc353e7478fee8b18126cd (diff) |
Merge pull request #101441 from marsam/fix-darwin-build
ruby: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/interpreters/ruby/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 02d0f02c3495..7b36b04d1143 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -125,6 +125,10 @@ let "--with-out-ext=tk" # on yosemite, "generating encdb.h" will hang for a very long time without this flag "--with-setjmp-type=setjmp" + # silence linker warnings after upgrading darwin.cctools to 949.0.1, + # which ruby treats as problem with LDFLAGS + # https://github.com/NixOS/nixpkgs/issues/101330 + "LDFLAGS=-Wl,-w" ] ++ op (stdenv.hostPlatform != stdenv.buildPlatform) "--with-baseruby=${buildRuby}"; |