nixpkgs/lib/tests/modules/define-force-attrsOfSub-foo-enable.nix

6 lines
64 B
Nix

{ lib, ... }:
lib.mkForce {
attrsOfSub.foo.enable = false;
}