nixpkgs-suyu/lib/tests/modules/disable-declare-enable.nix
Daiderd Jordan d88721e440
modules: add support for module replacement with disabledModules
This is based on a prototype Nicolas B. Pierron worked on during a
discussion we had at FOSDEM.

A new version with a workaround for problems of the reverted original.
Discussion: https://github.com/NixOS/nixpkgs/commit/3f2566689
2017-03-03 13:45:22 +01:00

5 lines
65 B
Nix

{ lib, ... }:
{
disabledModules = [ ./declare-enable.nix ];
}