Commit Graph

481776 Commits

Author SHA1 Message Date
Weijia Wang
21ce13c6eb
Merge pull request #230331 from r-ryantm/auto-update/papi
papi: 7.0.0 -> 7.0.1
2023-05-06 21:03:05 +03:00
Weijia Wang
56f1d92c94
Merge pull request #230336 from r-ryantm/auto-update/opengrok
opengrok: 1.12.3 -> 1.12.4
2023-05-06 21:02:37 +03:00
Weijia Wang
589e345207
Merge pull request #230330 from r-ryantm/auto-update/gnuastro
gnuastro: 0.19 -> 0.20
2023-05-06 21:01:30 +03:00
Weijia Wang
d8ede6fd84
Merge pull request #230310 from r-ryantm/auto-update/doppler
doppler: 3.56.0 -> 3.58.0
2023-05-06 21:00:31 +03:00
Weijia Wang
212ea4c42f
Merge pull request #230343 from AtilaSaraiva/segyiofix
segyio: removing unused input
2023-05-06 20:56:31 +03:00
Weijia Wang
6045f764c3
Merge pull request #230340 from r-ryantm/auto-update/brev-cli
brev-cli: 0.6.222 -> 0.6.224
2023-05-06 20:55:18 +03:00
Weijia Wang
3c412b7d25
Merge pull request #230365 from carlthome/enable-nikola-on-macos
python3Packages.nikola: enable on darwin
2023-05-06 20:54:41 +03:00
Weijia Wang
f269002e7c
Merge pull request #230364 from carlthome/enable-yapsy-tests
python3Packages.yapsy: use pytest and enable darwin
2023-05-06 20:50:59 +03:00
Weijia Wang
11fc1f224f
Merge pull request #230348 from risicle/ris-git-installcheck-darwin-sysctl
git: fix installCheck on darwin
2023-05-06 20:47:46 +03:00
Martin Weinelt
b9fd71fa6b
Merge pull request #230341 from mweinelt/vaultwarden-webvault-nodejs-update
vaultwarden.webvault: Use default nodejs version
2023-05-06 19:46:03 +02:00
Weijia Wang
44af8ba8c3
Merge pull request #230249 from CaptainJawZ/furtherance
furtherance: 1.6.0 -> 1.7.0
2023-05-06 20:45:31 +03:00
Michael Schantz Klausen
89abc99d5b python310Packages.polars: 0.15.13 -> 0.17.11 2023-05-06 13:37:05 -04:00
Jack Leightcap
4fdd191d65
verilog-12.0: installCheckPhase on supported arch
Signed-off-by: Jack Leightcap <jack@leightcap.com>
2023-05-06 13:06:47 -04:00
Gabriel Fontes
16b3b0c53b nixos/tests/kavita: init 2023-05-06 13:57:53 -03:00
Gabriel Fontes
e2854d332d nixos/kavita: init 2023-05-06 13:57:53 -03:00
Gabriel Fontes
76de0ec750 kavita: init at 0.7.1.4 2023-05-06 13:57:53 -03:00
Bruno BELANYI
ff573fb2ad tandoor-recipes: frontend: 'nodejs_16' -> 'nodejs' 2023-05-06 17:55:04 +01:00
Fabian Affolter
b09cac7c97
Merge pull request #230220 from fabaff/pyroute2-bump
python310Packages.pyroute2: 0.7.7 -> 0.7.8
2023-05-06 18:41:13 +02:00
Jack Leightcap
03ad8569fd
verilog-12.0: temp disable regression test suite
Signed-off-by: Jack Leightcap <jack@leightcap.com>
2023-05-06 12:35:27 -04:00
Sergei Trofimovich
9ce9c2940c
Merge pull request #230334 from trofi/nootka-use-getDev
nootka: use getDev to access .dev attributes
2023-05-06 17:33:05 +01:00
Robert Hensing
eab660d91e lib.modules: configurationClass -> class
This simplifies the documentation. `configuration` is implied by `_type`.
2023-05-06 18:32:59 +02:00
Robert Hensing
89491bef8d lib.modules: in evalModules return move _module.class -> configurationClass 2023-05-06 18:32:59 +02:00
Robert Hensing
4c7aa7d831 doc/module-system: _module is not internal 2023-05-06 18:32:59 +02:00
Robert Hensing
fd88c79418 lib.modules: Change class declaration in module to _class 2023-05-06 18:32:59 +02:00
Robert Hensing
7459c02495 lib/tests/modules.sh: Add submodule + class tests 2023-05-06 18:32:59 +02:00
Robert Hensing
8054785157 lib/modules: Move class out of specialArgs 2023-05-06 18:32:58 +02:00
Robert Hensing
8f02e95aff module-system.chapter.md: Elaborate on extendModules performance 2023-05-06 18:32:58 +02:00
Robert Hensing
5fac39307d module-system.chapter.md: Add mental model to type and extendModules 2023-05-06 18:32:58 +02:00
Robert Hensing
73f584c3cc lib/modules.nix: Deduplicate documentation
`file://./..` looks redundant, but makes the url clickable in vscode.
2023-05-06 18:32:58 +02:00
Robert Hensing
03a465f048 fixup! doc: Add Module System chapter start 2023-05-06 18:32:12 +02:00
Robert Hensing
ee1e14be0c doc: Add Module System chapter start 2023-05-06 18:29:05 +02:00
Robert Hensing
79703eef08 nixos,nixpkgs: Add module classes
This allows modules that declare their class to be checked.
While that's not most user modules, frameworks can take advantage
of this by setting declaring the module class for their users.
That way, the mistake of importing a module into the wrong hierarchy
can be reported more clearly in some cases.
2023-05-06 18:29:04 +02:00
Robert Hensing
84b1b01702 lib/modules: Only interpret class declaration in non-shorthand mode
This is to avoid stealing keys from submodules. `class` might be
common enough that reinterpreting existing `class` attributes in
configurations as a declaration leads to fairly widespread problems.
2023-05-06 18:29:04 +02:00
Robert Hensing
1f4a58ef03 lib/modules.nix: Refactor: extract applyModuleArgs 2023-05-06 18:29:04 +02:00
Robert Hensing
06ca78663c lib/modules.nix: Refactor: evaluate applyModuleArgsIfFunction in attrs case 2023-05-06 18:29:04 +02:00
Robert Hensing
439f6790bd lib/modules.nix: Restore old collectModules interface 2023-05-06 18:29:04 +02:00
Robert Hensing
9714487f74 lib/modules: Explain that a configuration can't be loaded as a module 2023-05-06 18:29:04 +02:00
Robert Hensing
2e689d58cb lib/modules: Improve error when a configuration is imported
This is appears to be a fairly common mistake for beginners who want
to build larger things from the system configurations, such as NixOps
networks, etc. Further explanation seems appropriate.
2023-05-06 18:29:03 +02:00
Robert Hensing
58f385f680 lib/modules: Check against importing things with a _type 2023-05-06 18:29:03 +02:00
Robert Hensing
b8ff2807a2 lib/modules: Add class concept to check imports
This improves the error message when an incompatible module is
imported.
2023-05-06 18:29:03 +02:00
Robert Hensing
3633bf98be lib/modules.nix: Make some functions private
The supposedly public nature of these functions has been holding
back module system maintenance, while usages of these functions
are expected to be rare. If used anywhere, presumably they're
emulating module system behavior because some use case isn't supported
properly. We should try to support such a use case directly, if it
even exists.
2023-05-06 18:29:03 +02:00
Carl Thomé
f46411763a Merge branch 'enable-yapsy-tests' into enable-nikola-on-macos 2023-05-06 18:23:57 +02:00
Carl Thomé
078a4801bf python3Packages.nikola: enable on darwin 2023-05-06 18:23:07 +02:00
Robert Hensing
fe15279390 lib/modules.nix: Use explicit exports 2023-05-06 18:22:51 +02:00
Robert Hensing
e7e64233c9 lib/tests/modules.sh: Unload implicit modules
I had some trouble understanding this. Let's try to keep new tests
a bit more stateless and explicit.
2023-05-06 18:22:50 +02:00
Carl Thomé
5c5a360e08 python3Packages.yapsy: use pytest and enable darwin 2023-05-06 17:55:42 +02:00
Sandro Jäckel
91158208e4
nodePackages.aliases: add missing date comments 2023-05-06 17:51:37 +02:00
maxine
9f0fa3dcc8
Merge pull request #230349 from SebTM/update/1password_beta_8106-20 2023-05-06 17:51:23 +02:00
teutat3s
60737bc2d1
nodePackages.manta: convert to buildNpmPackage
Renamed package to node-manta, because manta is already taken
2023-05-06 17:51:19 +02:00
teutat3s
7048a87e3c
nodePackages.triton: convert to buildNpmPackage 2023-05-06 17:50:38 +02:00