nixpkgs/lib
Robert Hensing 3c4a49f506 lib/modules: Throw earlier when module function does not return attrs
`m` must always be an attrset at this point. It is basically always
evaluated. This will make it throw when any of the attrs is accessed,
rather than just `config`. We assume that this will improve the error
message in more scenarios.
2022-06-14 23:23:41 +02:00
..
systems lib.systems.amd64-netbsd: remove 2022-06-08 17:14:05 +00:00
tests lib/modules: Throw earlier when module function does not return attrs 2022-06-14 23:23:41 +02:00
asserts.nix lib/asserts: use throw to display message for assertMsg 2022-01-19 00:50:06 +01:00
attrsets.nix lib.foldAttrs: Clarify example 2022-05-10 07:01:00 +02:00
cli.nix lib/cli: mkKey -> mkOptionName, use generators.mkValueStringDefault 2020-01-23 14:47:38 +01:00
customisation.nix lib/customization: Improve callPackage error message for missing args 2022-04-01 22:03:05 +02:00
debug.nix lib/debug: add traceFnSeqN 2021-01-25 19:25:50 +01:00
default.nix Merge pull request #157480 from MatthewCroughan/in-pure-eval-mode 2022-06-10 16:31:31 +02:00
deprecated.nix treewide: fold -> foldr 2021-01-26 10:57:07 +07:00
fetchers.nix
filesystem.nix lib: Add readTree function to filesystem 2020-10-19 16:42:21 -07:00
fixed-points.nix lib.compose{Many,}Extensions: Make compatible with nix flake check 2021-08-26 09:12:17 -04:00
flake.nix Fix import path. 2021-08-14 14:46:00 -05:00
generators.nix lib/generators: withRecursion: don't break attr-sets with special attrs 2022-04-12 12:34:23 +02:00
kernel.nix Merge pull request #84032 from teto/fix_kernel_merge 2020-05-22 13:32:22 +02:00
licenses.nix lib.licenses: add DRL-1.0 2022-05-10 11:11:40 +02:00
lists.nix Fix typo in compareLists docstring 2022-05-30 12:14:45 +02:00
meta.nix lib/meta: add getExe to get the main program of a drv 2022-04-24 04:19:49 +03:00
minver.nix Bump minver.nix to 2.2 2020-06-04 13:43:10 +02:00
modules.nix lib/modules: Throw earlier when module function does not return attrs 2022-06-14 23:23:41 +02:00
options.nix haskell.compiler: ghc922 -> ghc923 2022-05-28 21:11:07 +02:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib.sources: Improve docs 2022-01-30 02:04:51 +01:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix lib/strings/toShellVars: handle derivations as strings 2022-05-07 17:01:51 +02:00
trivial.nix Merge pull request #157480 from MatthewCroughan/in-pure-eval-mode 2022-06-10 16:31:31 +02:00
types.nix lib.deferredModule: Make it properly singular 2022-06-14 23:01:27 +02:00
versions.nix lib/versions: expose splitVersion 2019-09-26 17:42:42 +02:00
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00