diff options
author | volth <volth@volth.com> | 2018-12-15 03:50:31 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-12-15 03:50:31 +0000 |
commit | bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d (patch) | |
tree | c4f1c253bf8cf5fe17612039d2a27acbdacef253 /lib/strings.nix | |
parent | 921d046537f6d7f0fc0db07b7aa46be7e9df030b (diff) | |
download | nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.gz nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.bz2 nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.lz nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.xz nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.tar.zst nixpkgs-bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d.zip |
lib.makePerlPath -> perlPackages.makePerlPath
Diffstat (limited to 'lib/strings.nix')
-rw-r--r-- | lib/strings.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/strings.nix b/lib/strings.nix index 48420a36781..47c881cfbc7 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -162,26 +162,6 @@ rec { */ makeBinPath = makeSearchPathOutput "bin" "bin"; - - /* Construct a perl search path (such as $PERL5LIB) - - Example: - pkgs = import <nixpkgs> { } - makePerlPath [ pkgs.perlPackages.libnet ] - => "/nix/store/n0m1fk9c960d8wlrs62sncnadygqqc6y-perl-Net-SMTP-1.25/lib/perl5/site_perl" - */ - # FIXME(zimbatm): this should be moved in perl-specific code - makePerlPath = makeSearchPathOutput "lib" "lib/perl5/site_perl"; - - /* Construct a perl search path recursively including all dependencies (such as $PERL5LIB) - - Example: - pkgs = import <nixpkgs> { } - makeFullPerlPath [ pkgs.perlPackages.CGI ] - => "/nix/store/fddivfrdc1xql02h9q500fpnqy12c74n-perl-CGI-4.38/lib/perl5/site_perl:/nix/store/8hsvdalmsxqkjg0c5ifigpf31vc4vsy2-perl-HTML-Parser-3.72/lib/perl5/site_perl:/nix/store/zhc7wh0xl8hz3y3f71nhlw1559iyvzld-perl-HTML-Tagset-3.20/lib/perl5/site_perl" - */ - makeFullPerlPath = deps: makePerlPath (lib.misc.closePropagation deps); - /* Depending on the boolean `cond', return either the given string or the empty string. Useful to concatenate against a bigger string. |