diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-07-16 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-07-16 04:20:00 +0000 |
commit | 0b1132dba50d48cdf7738f3986ac49b717d1f355 (patch) | |
tree | 64b3b487dcc1f9f0f8bc362aec335f4f0a247551 /pkgs/development/ruby-modules | |
parent | 3320ca4bcbc37c80b1bb836fcbe4e584a66eb212 (diff) |
buildRubyGem: by default use Ruby's platforms
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/gem/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index c8dba5142082..7ba8c70a9805 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -242,7 +242,10 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // { propagatedUserEnvPkgs = gemPath ++ propagatedUserEnvPkgs; passthru = passthru // { isRubyGem = true; }; - inherit meta; + meta = { + # default to Ruby's platforms + platforms = ruby.meta.platforms; + } // meta; }) ) |