[Backport release-21.05] Add JSON package to gitolite environment. (#127799)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Lassulus <github@lassul.us>
Co-authored-by: Stanisław Barzowski <stanislaw.barzowski@gmail.com>
This commit is contained in:
github-actions[bot] 2021-08-07 01:17:03 +03:00 committed by GitHub
parent e95258eaf1
commit b42cffe97f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 = ''