lol

Avoid top-level `with ...;` in lib/tests/modules/alias-with-priority-can-override.nix

+10 -3
+10 -3
lib/tests/modules/alias-with-priority-can-override.nix
··· 6 6 7 7 { config, lib, ... }: 8 8 9 - with lib; 9 + let 10 + inherit (lib) 11 + mkAliasOptionModule 12 + mkForce 13 + mkOption 14 + types 15 + ; 16 + in 10 17 11 18 { 12 19 options = { 13 20 # A simple boolean option that can be enabled or disabled. 14 - enable = lib.mkOption { 21 + enable = mkOption { 15 22 type = types.nullOr types.bool; 16 23 default = null; 17 24 example = true; ··· 41 48 # should override the next import. 42 49 ( { config, lib, ... }: 43 50 { 44 - enableAlias = lib.mkForce false; 51 + enableAlias = mkForce false; 45 52 } 46 53 ) 47 54