summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2021-03-26 17:04:37 -0400
committerGitHub <noreply@github.com>2021-03-26 17:04:37 -0400
commitae4fac9f4b727d44ecdc92045abbb934e80cf901 (patch)
tree6b71492a8eb4d4215e0a3ea1a3dfc65290ebbab5 /pkgs/development/ruby-modules
parent109d6b3bdbac150c23ac134682c591c679e20a5b (diff)
downloadnixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.tar
nixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.tar.gz
nixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.tar.bz2
nixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.tar.lz
nixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.tar.xz
nixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.tar.zst
nixpkgs-ae4fac9f4b727d44ecdc92045abbb934e80cf901.zip
Use minimal git for fetching gems
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/gem/default.nix4
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 02af8eaa967..20667988548 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;