diff --git a/lib/strings.nix b/lib/strings.nix index bf6cbd2cbfa..ce2c4132bbc 100644 --- a/lib/strings.nix +++ b/lib/strings.nix @@ -52,6 +52,10 @@ rec { # libraries for a set of packages, e.g. "${pkg1}/lib:${pkg2}/lib:...". makeLibraryPath = makeSearchPath "lib"; + # Construct a binary search path (such as $PATH) containing the + # binaries for a set of packages, e.g. "${pkg1}/bin:${pkg2}/bin:...". + makeBinPath = makeSearchPath "bin"; + # Idem for Perl search paths. makePerlPath = makeSearchPath "lib/perl5/site_perl";