mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
Merge pull request #117727 from edude03/patch-5
Use minimal git for fetching gems
This commit is contained in:
commit
5a9bce6789
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user