1be0098156
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
14 lines
386 B
Nix
14 lines
386 B
Nix
{ lib, config, ... }: {
|
|
imports = [
|
|
(lib.doRename { from = ["a" "b"]; to = ["c" "d" "e"]; warn = true; use = x: x; visible = true; })
|
|
];
|
|
options = {
|
|
warnings = lib.mkOption { type = lib.types.listOf lib.types.str; };
|
|
c.d.e = lib.mkOption {};
|
|
result = lib.mkOption {};
|
|
};
|
|
config = {
|
|
a.b = 1234;
|
|
result = lib.concatStringsSep "%" config.warnings;
|
|
};
|
|
}
|