]> Git — Sourcephile - sourcephile-nix.git/blob - install/overlays/lib/strings.nix
nixsys -> nixpkgs-commonsoft.
[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 unlines = lib.concatStringsSep "\n";
6 unlinesAttrs = f: as: unlines (lib.mapAttrsToList f as);
7 unlinesValues = as: unlines (builtins.attrValues as);
8 };
9 }