forked from mirrors/nixpkgs
makePerlPath: try to guess outputs
This commit is contained in:
parent
2a3b3d6f8b
commit
e26119619f
|
@ -132,7 +132,8 @@ rec {
|
||||||
makePerlPath [ pkgs.perlPackages.NetSMTP ]
|
makePerlPath [ pkgs.perlPackages.NetSMTP ]
|
||||||
=> "/nix/store/n0m1fk9c960d8wlrs62sncnadygqqc6y-perl-Net-SMTP-1.25/lib/perl5/site_perl"
|
=> "/nix/store/n0m1fk9c960d8wlrs62sncnadygqqc6y-perl-Net-SMTP-1.25/lib/perl5/site_perl"
|
||||||
*/
|
*/
|
||||||
makePerlPath = makeSearchPath "lib/perl5/site_perl";
|
makePerlPath = pkgs: makeSearchPath "lib/perl5/site_perl"
|
||||||
|
(map (pkg: pkg.lib or (pkg.out or pkg)) pkgs);
|
||||||
|
|
||||||
/* Dependening on the boolean `cond', return either the given string
|
/* Dependening on the boolean `cond', return either the given string
|
||||||
or the empty string. Useful to contatenate against a bigger string.
|
or the empty string. Useful to contatenate against a bigger string.
|
||||||
|
|
Loading…
Reference in a new issue