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-17 23:19:25 +03:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
19e54b8a69
nixpkgs
/
lib
/
tests
/
modules
/
module-class-is-darwin.nix
5 lines
41 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
=
"
d
a
r
w
i
n
"
;
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 57b193d8ddeaf4f5219d2bae1d23b081e4906e57 result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +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