]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/overlays/lib/strings.nix
creds: finish to migrate to systemd-creds.nix
[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 }