1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/lib
Robert Hensing 118bdf25a6 lib/modules: Allow an "anonymous" module with key in disabledModules
This makes the following work

    disabledModules = [ foo.nixosModules.bar ];

even if `bar` is not a path, but rather a module such as

    { key = "/path/to/foo#nixosModules.bar"; config = ...; }

By supporting this, the user will often be able to use the same syntax
for both importing and disabling a module. This is becoming more relevant
because flakes promote the use of attributes to reference modules. Not
all of these modules in flake attributes will be identifiable, but with
the help of a framework such as flake-parts, these attributes can be
guaranteed to be identifiable (by outPath + attribute path).
2023-03-01 15:03:44 +01:00
..
path Merge pull request #208887 from tweag/lib.path.append 2023-02-07 17:27:37 +01:00
systems Merge master into staging-next 2023-01-31 00:02:31 +00:00
tests lib/modules: Allow an "anonymous" module with key in disabledModules 2023-03-01 15:03:44 +01:00
ascii-table.nix lib.strings: Add function to convert character to number 2022-10-20 18:58:44 +02:00
asserts.nix doc: auto-generate asserts and attrset library docs 2022-12-08 22:58:22 +01:00
attrsets.nix lib: standardise attrset type syntax 2023-01-30 23:53:44 +00:00
cli.nix
customisation.nix lib.hydraJob: Tolerate null 2023-01-30 00:35:34 +01:00
debug.nix
default.nix Merge pull request #206611 from h7x4/lib-lists-add-repeat 2023-02-07 06:16:09 +01:00
deprecated.nix lib.closePropagation: Remove the quadratic behavior in lib.closePropagation 2022-10-07 18:03:42 +02:00
derivations.nix lib: fix typos 2022-12-17 18:59:29 -05:00
fetchers.nix
filesystem.nix lib: Automatically generate lib.filesytem docs 2022-10-26 15:10:47 +02:00
fixed-points.nix lib: make extender available on self-references 2023-01-15 11:34:05 -08:00
flake.nix
generators.nix stdenv/check-meta: do deep type checks 2023-01-01 14:10:42 +01:00
kernel.nix
licenses.nix lib/licenses: add ecl20 2023-02-07 10:39:46 +01:00
lists.nix Merge pull request #206611 from h7x4/lib-lists-add-repeat 2023-02-07 06:16:09 +01:00
meta.nix Update lib/meta.nix 2023-01-27 11:16:29 +00:00
minver.nix
modules.nix lib/modules: Allow an "anonymous" module with key in disabledModules 2023-03-01 15:03:44 +01:00
options.nix types: suggest how to resolve the conflict 2023-02-09 08:24:12 +00:00
source-types.nix
sources.nix lib/sources: make commitIdFromGitRepoOrError internal and use # for comments 2022-11-18 17:17:51 +02:00
strings-with-deps.nix
strings.nix Merge pull request #205557 from ncfavier/concatLines 2023-01-31 18:05:53 +01:00
trivial.nix lib/trival: Bump oldestSupportedRelease to 2211 2023-01-01 14:57:25 +01:00
types.nix lib.strings: isSimpleCoercibleString -> isStringLike 2022-12-31 01:33:46 +01:00
versions.nix lib/versions: add pad 2022-12-21 12:58:21 +01:00
zip-int-bits.nix