]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/overlays/lib/strings.nix
mermet: knot: use builtins.path
[sourcephile-nix.git] / nixpkgs / 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 }