]> Git — Sourcephile - sourcephile-nix.git/blob - install/overlays/lib/strings.nix
nslcd: fix passwd support
[sourcephile-nix.git] / install / overlays / lib / strings.nix
1 self: super:
2 let lib = super.lib; in
3 {
4 lib = (super.lib or {}) // rec {
5 unwords = lib.concatStringsSep " ";
6 unlines = lib.concatStringsSep "\n";
7 unlinesAttrs = f: as: unlines (lib.mapAttrsToList f as);
8 unlinesValues = as: unlines (builtins.attrValues as);
9 };
10 }