]> Git — Sourcephile - sourcephile-nix.git/blob - overlays/lib/strings.nix
shell: gnupg: always update conf
[sourcephile-nix.git] / 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 }