[Nix-dev] PERL5LIB and lib.makePerlPath

Daniel Hlynskyi abcz2.uprola at gmail.com
Tue Aug 2 12:39:07 CEST 2016


Hi. There is a function lib.makePerlPath

$ nix-instantiate --eval -E 'with import <nixpkgs>{}; lib.makePerlPath
[perlPackages.DBDPg]'
"/nix/store/...-perl-DBD-Pg-3.5.3/lib/perl5/site_perl"

I want a similar function, which includes deps too (for wrapper)

$ nix-instantiate --eval -E 'with import <nixpkgs>{}; lib.makeFullPerlPath
[perlPackages.DBDPg]'
"/nix/store/...-perl-DBD-Pg-3.5.3/lib/perl5/site_perl:/nix/store/...-perl-DBI-1.634/lib/perl5/site_perl"

Has anybody done this already?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160802/513cdd4f/attachment.html>


More information about the nix-dev mailing list