diff options
Diffstat (limited to 'pkgs/lib/default.nix')
-rw-r--r-- | pkgs/lib/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/lib/default.nix b/pkgs/lib/default.nix index af2785f30e5..2c8e29cc04b 100644 --- a/pkgs/lib/default.nix +++ b/pkgs/lib/default.nix @@ -81,6 +81,8 @@ rec { concatStringsSep = separator: list: concatStrings (intersperse separator list); + makeLibraryPath = paths: concatStringsSep ":" (map (path: path + "/lib") paths); + # Flatten the argument into a single list; that is, nested lists are # spliced into the top-level lists. E.g., `flatten [1 [2 [3] 4] 5] |