buildRubyGem: inherit libobjc from darwin
This commit is contained in:
parent
a720bc44c2
commit
6b8ce2acdf
2 changed files with 5 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
# Normal gem packages can be used outside of bundler; a binstub is created in
|
||||
# $out/bin.
|
||||
|
||||
{ lib, fetchurl, fetchgit, makeWrapper, gitMinimal, darwin
|
||||
{ lib, fetchurl, fetchgit, makeWrapper, gitMinimal, libobjc
|
||||
, ruby, bundler
|
||||
} @ defs:
|
||||
|
||||
|
@ -96,7 +96,7 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
|
|||
|
||||
buildInputs = [
|
||||
ruby
|
||||
] ++ lib.optionals stdenv.isDarwin [ darwin.libobjc ]
|
||||
] ++ lib.optionals stdenv.isDarwin [ libobjc ]
|
||||
++ buildInputs;
|
||||
|
||||
#name = builtins.trace (attrs.name or "no attr.name" ) "${namePrefix}${gemName}-${version}";
|
||||
|
|
|
@ -14584,7 +14584,9 @@ with pkgs;
|
|||
|
||||
inherit (ocamlPackages) reason;
|
||||
|
||||
buildRubyGem = callPackage ../development/ruby-modules/gem { };
|
||||
buildRubyGem = callPackage ../development/ruby-modules/gem {
|
||||
inherit (darwin) libobjc;
|
||||
};
|
||||
defaultGemConfig = callPackage ../development/ruby-modules/gem-config {
|
||||
inherit (darwin) DarwinTools cctools;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
|
|
Loading…
Reference in a new issue