hub: add git as a dependency of the expression

This commit is contained in:
John Wiegley 2015-01-02 14:39:50 -06:00 committed by Shea Levy
parent c4190b4894
commit 58ae62b9fa
2 changed files with 3 additions and 2 deletions

View file

@ -75,6 +75,7 @@ rec {
hub = import ./hub { hub = import ./hub {
inherit (rubyLibs) rake; inherit (rubyLibs) rake;
inherit stdenv fetchurl groff makeWrapper; inherit stdenv fetchurl groff makeWrapper;
git = gitBase;
}; };
gitFastExport = import ./fast-export { gitFastExport = import ./fast-export {

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, groff, rake, makeWrapper }: { stdenv, fetchurl, git, groff, rake, makeWrapper }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hub-${version}"; name = "hub-${version}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
''; '';
fixupPhase = '' fixupPhase = ''
wrapProgram $out/bin/hub --prefix PATH : ${groff}/bin wrapProgram $out/bin/hub --prefix PATH : ${groff}/bin:${git}/bin
''; '';
meta = { meta = {