Rename a module option when one components in the option path is a variable

So in this PR:

https://github.com/NixOS/nixpkgs/pull/226088#discussion_r1186723670

We need to rename every module option c1.c2.c3.<folder-path-set-by-user>.o1 to b1.b2.b3.b4.<folder-path-set-by-user>.o1.

The <folder-path-set-by-user> component is of course variable between different usages of the module. Is it possible to do this?

1 Like