1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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}' \ '${version}' \
'${lib.escapeShellArgs buildFlags}' \ '${lib.escapeShellArgs buildFlags}' \
'${attrs.source.url}' \ '${attrs.source.url}' \
'${src}' \ '.' \
'${attrs.source.rev}' '${attrs.source.rev}'
''} ''}