From 141f4481a0ac653de357705f41610f1a917f5cec Mon Sep 17 00:00:00 2001 From: David Arnold Date: Fri, 16 Apr 2021 13:44:19 -0500 Subject: [PATCH] update Readme with new exporters and builders --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6544236e..4ed97646 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,9 @@ This flake provides two main features (visible from `flake.nix`): - `nixosModules.saneFlakeDefaults` - Configures `nix.*` attributes. Generates `nix.nixPath`/`nix.registry` from flake `inputs`, sets `pkgs.nixUnstable` as the default also enables `ca-references` and `flakes`. - `lib.systemFlake { ... }` - Generates a system flake that may then be built. -- `lib.modulesFromList [ ./a.nix ./b.nix ]` - Generates modules attributes which looks like this `{ a = import ./a.nix; b = import ./b.nix; }`. +- `lib.exporter.modulesFromListExporter [ ./a.nix ./b.nix ]` - Generates modules attributes which looks like this `{ a = import ./a.nix; b = import ./b.nix; }`. +- `lib.exporter.overlaysFromChannelsExporter channels` - Collects all overlays from channels and exports them as an appropriately namespaced attribute set. Users can instantiate with their nixpkgs version. +- `lib.builder.packagesFromOverlayBuilderConstructor channels pkgs` - Similar to the overlay generator, but outputs them as packages, instead. Users can use your cache. # Examples #