ruby-modules/gem: fix path to git checkout

In case of the gem type 'git', nix-bundle-install.rb was called with
wrong path to the git checkout.

${src} does contain the sources, but not the newly generated .git dir,
which is created in the buildPhase of pkgs/development/ruby-modules/gem/default.nix

In some rare cases, this .git dir is needed at installPhase.
This commit is contained in:
Justin Humm 2019-04-02 16:47:36 +02:00
parent e4d2143802
commit eb9293e4d8
No known key found for this signature in database
GPG Key ID: 5F24E3BD56617EB2

View File

@ -179,7 +179,7 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
'${version}' \
'${lib.escapeShellArgs buildFlags}' \
'${attrs.source.url}' \
'${src}' \
'.' \
'${attrs.source.rev}'
''}