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:
parent
e4d2143802
commit
eb9293e4d8
|
@ -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}'
|
||||||
''}
|
''}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue