mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
lib/modules: add class
to specialArgs
Co-Authored-By: Johannes Kirschbauer <hsjobeki@gmail.com>
This commit is contained in:
parent
c8cd81426f
commit
6de9039315
7 changed files with 105 additions and 1 deletions
8
lib/tests/modules/expose-module-class.nix
Normal file
8
lib/tests/modules/expose-module-class.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ _class, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
foo = lib.mkOption {
|
||||
default = _class;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue