This commit is contained in:
sohalt 2022-06-21 17:10:22 +02:00
parent f8d6d1f87b
commit 6b42722b28
2 changed files with 3 additions and 3 deletions

View File

@ -157,11 +157,11 @@ in flake-utils-plus.lib.mkFlake {
};
};
# Evaluates to `packages.<system>.coreutils = <unstable-nixpkgs-reference>.package-from-overlays`.
# Evaluates to `packages.<system>.package-from-overlays = <unstable-nixpkgs-reference>.package-from-overlays`.
packages = { inherit (channels.unstable) package-from-overlays; };
# Evaluates to `apps.<system>.firefox = utils.lib.mkApp { drv = ...; };`.
defaultApp = mkApp { drv = channels.nixpkgs.firefox };
defaultApp = mkApp { drv = channels.nixpkgs.firefox; };
# Evaluates to `defaultPackage.<system>.neovim = <nixpkgs-channel-reference>.neovim`.
defaultPackage = channels.nixpkgs.neovim;

View File

@ -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 "."}