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:
Stanisław Barzowski 2021-06-22 15:11:35 +02:00 committed by GitHub
parent df1ec730c3
commit 1fcd4e74c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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