mirror of
https://github.com/NixOS/nix.git
synced 2025-12-22 00:41:08 +01:00
GC root for fetched nixpkgs/lib content
This commit is contained in:
commit
63e0b5d081
175 changed files with 18510 additions and 0 deletions
12
tests/modules/declare-submoduleWith-path.nix
Normal file
12
tests/modules/declare-submoduleWith-path.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, ... }: {
|
||||
options.submodule = lib.mkOption {
|
||||
type = lib.types.submoduleWith {
|
||||
modules = [
|
||||
./declare-enable.nix
|
||||
];
|
||||
};
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.submodule = ./define-enable.nix;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue