summary refs log tree commit diff
path: root/lib/strings.nix
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2015-12-11 18:31:00 +0100
committerLuca Bruno <lethalman88@gmail.com>2015-12-11 18:31:00 +0100
commit5b0352a6a43fdd924a53cde4b81c15b755fa0a27 (patch)
treecf0fcc2be2f6d08c970f0322a63ff0a31d5d5dee /lib/strings.nix
parent2f0fe05543ce594eacf0310966914d6e19a42f88 (diff)
parent146784f835a6cadc65812c5adf76533c18e5be61 (diff)
Merge branch 'master' into closure-size
Diffstat (limited to 'lib/strings.nix')
-rw-r--r--lib/strings.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/strings.nix b/lib/strings.nix
index 4b6b91cbf0c0c..96c087e8da0ef 100644
--- a/lib/strings.nix
+++ b/lib/strings.nix
@@ -54,6 +54,10 @@ rec {
     # try to guess the right output of each pkg
     (map (pkg: pkg.lib or (pkg.out or pkg)) pkgs);
 
+  # 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";