From 6b42722b28845c01381c69c21a3d03837c52a2a3 Mon Sep 17 00:00:00 2001 From: sohalt Date: Tue, 21 Jun 2022 17:10:22 +0200 Subject: [PATCH] typos --- README.md | 4 ++-- lib/exportModules.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 "."}