mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
lib/tests: remove strictly loaOf tests and rebase on attrsOf
This commit is contained in:
parent
1d61efb7f1
commit
cde46494c6
23 changed files with 59 additions and 103 deletions
7
lib/tests/modules/define-attrsOfSub-if-foo-enable.nix
Normal file
7
lib/tests/modules/define-attrsOfSub-if-foo-enable.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
attrsOfSub = lib.mkIf config.enable {
|
||||
foo.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue