mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
git: add more deps to gitweb
This commit is contained in:
parent
2821d3fed7
commit
05b535c850
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user