Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
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;
|
|
};
|
|
}
|