3
0
Fork 0
forked from mirrors/nixpkgs
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
attrsets.nix lib.foldAttrs: Clarify example 2022-05-10 07:01:00 +02:00
cli.nix
customisation.nix lib/customization: Improve callPackage error message for missing args 2022-04-01 22:03:05 +02:00
debug.nix
default.nix Merge pull request #157480 from MatthewCroughan/in-pure-eval-mode 2022-06-10 16:31:31 +02:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
flake.nix
generators.nix lib/generators: withRecursion: don't break attr-sets with special attrs 2022-04-12 12:34:23 +02:00
kernel.nix
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
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
strings-with-deps.nix
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
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00