mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-11 10:16:01 +01:00
Reason: keep ci directory in sync - https://github.com/NixOS/nixpkgs/pull/431450#issuecomment-3209546418 This requires that we have a modules directory, in which case the easy and robust solution is to only port the addition parts of the refactor. It's about as easy as a .keep file, but more useful. This means that some duplication is created, but we avoid backporting the changes to the documentation generation, which is a somewhat complex component I'd rather not touch until these changes have been proven out on unstable.
10 lines
510 B
Markdown
10 lines
510 B
Markdown
# `<nixpkgs>/modules`
|
|
|
|
This directory hosts subdirectories representing each module [class](https://nixos.org/manual/nixpkgs/stable/#module-system-lib-evalModules-param-class) for which the `nixpkgs` repository has user-importable modules.
|
|
|
|
Exceptions:
|
|
- `_class = "nixos";` modules go in the `<nixpkgs>/nixos/modules` tree
|
|
- modules whose only purpose is to test code in this repository
|
|
|
|
The emphasis is on _importable_ modules, i.e. ones that aren't inherent to and built into the Module System application.
|