core/lib/tests/modules/doRename-basic.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
312 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ 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;
};
}