diff options
author | Michael Francis <edude03@gmail.com> | 2021-03-26 17:04:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 17:04:37 -0400 |
commit | ae4fac9f4b727d44ecdc92045abbb934e80cf901 (patch) | |
tree | 6b71492a8eb4d4215e0a3ea1a3dfc65290ebbab5 /pkgs/development/ruby-modules/gem | |
parent | 109d6b3bdbac150c23ac134682c591c679e20a5b (diff) |
Use minimal git for fetching gems
Diffstat (limited to 'pkgs/development/ruby-modules/gem')
-rw-r--r-- | pkgs/development/ruby-modules/gem/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index 02af8eaa96721..20667988548cd 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -18,7 +18,7 @@ # Normal gem packages can be used outside of bundler; a binstub is created in # $out/bin. -{ lib, fetchurl, fetchgit, makeWrapper, git, darwin +{ lib, fetchurl, fetchgit, makeWrapper, gitMinimal, darwin , ruby, bundler } @ defs: @@ -89,7 +89,7 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // { buildInputs = [ ruby makeWrapper - ] ++ lib.optionals (type == "git") [ git ] + ] ++ lib.optionals (type == "git") [ gitMinimal ] ++ lib.optionals (type != "gem") [ bundler ] ++ lib.optional stdenv.isDarwin darwin.libobjc ++ buildInputs; |