mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 00:13:02 +03:00
modules.drv-parts: add deprecation error
This commit is contained in:
parent
e079a21487
commit
16b9241e2b
@ -46,7 +46,7 @@ in {
|
||||
imports = flakePartsModules;
|
||||
|
||||
options.flake.modules = mkOption {
|
||||
type = types.anything;
|
||||
type = types.lazyAttrsOf types.raw;
|
||||
};
|
||||
|
||||
# generates future flake outputs: `modules.<kind>.<module-name>`
|
||||
|
6
modules/flake-parts/drv-parts-deprecated.nix
Normal file
6
modules/flake-parts/drv-parts-deprecated.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
flake.modules.drv-parts = throw ''
|
||||
dream2nix.modules.drv-parts is deprecated.
|
||||
Use dream2nix.modules.dream2nix instead.
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user