1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

git: add more deps to gitweb

This commit is contained in:
gnidorah 2018-03-28 12:27:19 +03:00
parent 2821d3fed7
commit 05b535c850
2 changed files with 1 additions and 11 deletions

View file

@ -4,16 +4,6 @@ with lib;
let
cfg = config.services.gitweb;
gitwebPerlLibs = with pkgs.perlPackages; [ CGIFast FCGI FCGIProcManager HTMLTagCloud ];
git = pkgs.git.overrideAttrs (oldAttrs: rec {
postInstall = ''
${oldAttrs.postInstall}
for p in ${lib.concatStringsSep " " gitwebPerlLibs}; do
sed -i -e "/use CGI /i use lib \"$p/lib/perl5/site_perl\";" \
"$out/share/gitweb/gitweb.cgi"
done
'';
});
in
{

View file

@ -15,7 +15,7 @@ let
perlPackages.MIMEBase64 perlPackages.AuthenSASL
perlPackages.DigestHMAC
];
gitwebPerlLibs = with perlPackages; [ CGI HTMLParser ];
gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
};
in