nixpkgs/lib/tests/modules/doRename-basic.nix
2022-11-03 13:12:58 +01:00

12 lines
221 B
Nix

{ lib, ... }: {
imports = [
(lib.doRename { from = ["a" "b"]; to = ["c" "d" "e"]; warn = true; use = x: x; visible = true; })
];
options = {
c.d.e = lib.mkOption {};
};
config = {
a.b = 1234;
};
}