Add JSON package to gitolite environment. (#127683)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Lassulus <github@lassul.us>
This commit is contained in:
parent
df1ec730c3
commit
1fcd4e74c4
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, git, lib, makeWrapper, nettools, perl }:
|
||||
{ stdenv, fetchFromGitHub, git, lib, makeWrapper, nettools, perl, perlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gitolite";
|
||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/gitolite-shell \
|
||||
--prefix PATH : ${lib.makeBinPath [ git perl ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ git (perl.withPackages (p: [ p.JSON ])) ]}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue