This website requires JavaScript.
Explore
Help
Sign in
movefasta
/
nixpkgs
Watch
1
Star
0
Fork
You've already forked nixpkgs
0
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2025-06-12 04:35:41 +03:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
84d4f874c2
nixpkgs
/
lib
/
tests
/
modules
/
module-class-is-nixos.nix
5 lines
40 B
Nix
Raw
Normal View
History
Unescape
Escape
lib/modules: Add class concept to check imports This improves the error message when an incompatible module is imported.
2022-10-24 14:30:19 +02:00
{
lib.modules: Change class declaration in module to _class
2023-04-17 20:14:07 +02:00
_class
=
"
n
i
x
o
s
"
;
treewide: format all inactive Nix files After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev 78e9caf153f5a339bf1d4c000ff6f0a503a369c8 result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
config
=
{
}
;
lib/modules: Add class concept to check imports This improves the error message when an incompatible module is imported.
2022-10-24 14:30:19 +02:00
}
Reference in a new issue
Copy permalink