diff --git a/README.md b/README.md index 069eda1..e7e027d 100644 --- a/README.md +++ b/README.md @@ -157,11 +157,11 @@ in flake-utils-plus.lib.mkFlake { }; }; - # Evaluates to `packages..coreutils = .package-from-overlays`. + # Evaluates to `packages..package-from-overlays = .package-from-overlays`. packages = { inherit (channels.unstable) package-from-overlays; }; # Evaluates to `apps..firefox = utils.lib.mkApp { drv = ...; };`. - defaultApp = mkApp { drv = channels.nixpkgs.firefox }; + defaultApp = mkApp { drv = channels.nixpkgs.firefox; }; # Evaluates to `defaultPackage..neovim = .neovim`. defaultPackage = channels.nixpkgs.neovim; diff --git a/lib/exportModules.nix b/lib/exportModules.nix index f3d49e0..54d962f 100644 --- a/lib/exportModules.nix +++ b/lib/exportModules.nix @@ -50,7 +50,7 @@ let value = arg; } - # panic: a simple module with a _file attr + # panic: a simple module without a _file attr else if (builtins.isAttrs arg) && !(hasFileAttr arg) then builtins.throw '' simple module has no (required) _file argument key: ${builtins.trace arg "."}