This makes the Perl search path ($PERL5LIB) much shorter, cutting down the number of stat() calls when starting hydra-server from ~432000 to ~9000.
6K5PBUUN4GQAMOVX5BS6YYMHJ3PIF2PPZBTIEQ4R7BQNHC23GS3AC
TNLAFBN7CL7OZPYYKWCQ2HTTXJHEOJBLVOOLM6YCQEST4PGCPPTQC
DCNDIQS5SY5FF2SQ4Z3RCQWBCVNLA5H7HFM5UHLVISS3ASGVMRGAC
IAPJR377R7MJ3RM3EINRCUPRVKEO76UEJJ4MALOVVQXFZN7EXNGQC
AWZEBCMSYMKJVI5OP57WLOM3MG6E53LHKOSNWHPPTIJP6N2O7VLQC
LOHWNXEJKUPDI33VZMC2XLPXO7TZ2Y3AJTFJPJI2ZPHJOMLUUPRAC
XJRJ4J7M6BC433TBLWHHKX7UYYCFX6M7ZQLUEYYTREPCSM6M3RDQC
NILMMFMYWOTQUABCE56HAHEGMPCOU3Q6H76IFBDUKBICDT7WB5RQC
CLXEECMFKLUIN5QBV3BPPPSU6G5UF6MXRSNWA6LXUBNQGSJY4U5QC
SAFVRDTKKD25U6VW5IVNUILLLXNQXFU72XARYC6NRVXU6MJEW2WAC
AMFMXR52JXHUOWWG4VZ5DHQGLF4F7H7XSJRLX5XNEXOCCWYLDQOAC
DO432JDJH2NWZC6AMN7PG6WYD2Y26U6O54GDMBEVBQTZEVNKBN5QC
HSVVEKTY2U5XJ4ZDHF43YEQXRPRWNZLZDDD4W7JFJ55UWD7CEFBQC
46Z25UHSGPWEF7QSXODHKNGRHWEYX5JOCCZYI67S2NJTWY5JDN4AC
AIEKRM6TQFURIZESUF57IQYO5RXFRBL7SOFSCX72CVKUN3UKK3DAC
OG7BEM57MXPCG56IT5GODPFG77KZXWPXZ7OVZPWQQ56CRJ7KUE2QC
TH674WKJECNZ4K22DZ2N4SF53UGKG2BQRGBSNESRPDRSRND6TZHAC
CXRCPDSQEWHSZNCJIORUAINH5I2FFFQ7AVUQOB62REGROLROPE7QC
YFPZ46YK4BOI6VH2H3F757UEGEYONURUAEDAYEIBLRY33PLSSO4AC
3YSK5YXGW3JKJUPYNHDQSB4ZCUMBSFKHCGWI4IIXJ277OBYRSU2AC
BQYE6R7YVBXS72FXT4WJFXJ2KARTW2V65TVSTFGCE5TK2BL3ZQVAC
7DWCXNC72OO3M4YGNVV4KM775CUSPBHEFFNMRIA2XAZTQCXYHBRQC
RBZRCTALK2SLKX6HDMBS25BRNYPK3GK364MGAVCXP3MW5CEW5TKQC
QUTWJR7PQZ3DBPC4G2AFXOKPPGFZQLE5RLXHAOFTLMXIT2QPF4TQC
UUGBVEGYV3FUNL7D3ECA2DIMFHE2S5UQF4ACSLESX3M3NRYYE57AC
RFE6T5LGBFFNEPHZOPF4UNMFC2L4CGD5TPAMOXDLRPH3TZJ43UBAC
RAKTHYAIX757GPYWCHOE5H5RD3QYKQW3QKLWUIUKPHQ5QGWQXWQQC
YQWH4POV22KYCCKOTZXD36QKUOWEQ2DSPYPO5DNZDZ344RI25OAAC
T4LLYESZ2HUXSLKZ6GNBLVWUVG7R5IDFHYHYO773QIZ6QTOOXR2AC
ZGBU7H7P3T3F5LRAODKG2467IEAFVWDMHHDHKBZJGYBAPE3YJ56QC
HPIJ35SGWBE4WZE5RGSYGR7IRPCFYROUUUAHAC7E5TDCMSVM2OZAC
{ pkgs }:
with pkgs;
[ perlPackages.CatalystAuthenticationStoreDBIxClass
perlPackages.CatalystPluginAccessLog
perlPackages.CatalystPluginAuthorizationRoles
perlPackages.CatalystPluginSessionStateCookie
perlPackages.CatalystPluginSessionStoreFastMmap
perlPackages.CatalystPluginStackTrace
perlPackages.CatalystViewDownload
perlPackages.CatalystViewJSON
perlPackages.CatalystViewTT
perlPackages.CatalystXScriptServerStarman
perlPackages.CryptRandPasswd
perlPackages.DBDPg
perlPackages.EmailSender
perlPackages.FileSlurp
perlPackages.IOCompress
perlPackages.IPCRun
perlPackages.JSONXS
perlPackages.PadWalker
perlPackages.CatalystDevel
perlPackages.Readonly
perlPackages.SQLSplitStatement
perlPackages.Starman
perlPackages.SysHostnameLong
perlPackages.TestMore
perlPackages.TextDiff
perlPackages.TextTable
perlPackages.XMLSimple
nixUnstable
guile # optional, for Guile + Guix support
]
perlPackages.Switch # XXX: seems to be an indirect dep of `hydra-build'
perlPackages.DBDSQLite
perlPackages.DataDump
perlPackages.DateTime
perlPackages.DigestSHA1
perlPackages.CatalystTraitForRequestProxyBase
perlPackages.CatalystPluginCaptcha
let nix = nixUnstable; in
perlDeps = buildEnv {
name = "hydra-perl-deps";
paths = with perlPackages;
[ CatalystAuthenticationStoreDBIxClass
CatalystPluginAccessLog
CatalystPluginAuthorizationRoles
CatalystPluginCaptcha
CatalystPluginSessionStateCookie
CatalystPluginSessionStoreFastMmap
CatalystPluginStackTrace
CatalystViewDownload
CatalystViewJSON
CatalystViewTT
CatalystXScriptServerStarman
CatalystTraitForRequestProxyBase
CryptRandPasswd
DBDPg
DBDSQLite
DataDump
DateTime
DigestSHA1
EmailSender
FileSlurp
IOCompress
IPCRun
JSONXS
PadWalker
CatalystDevel
Readonly
SQLSplitStatement
Starman
Switch # XXX: seems to be an indirect dep of `hydra-build'
SysHostnameLong
TestMore
TextDiff
TextTable
XMLSimple
nix git
];
};
in
[ perl makeWrapper libtool nix unzip nukeReferences pkgconfig boehmgc sqlite
git gitAndTools.topGit mercurial subversion bazaar openssl bzip2
] ++ (import ./deps.nix) { inherit pkgs; };
[ makeWrapper libtool unzip nukeReferences pkgconfig boehmgc sqlite
gitAndTools.topGit mercurial subversion bazaar openssl bzip2
guile # optional, for Guile + Guix support
perl perlDeps
];