Open
Description
I'm just about to rename an option in one of my projects that have a module for flake-parts, and naturally I imported an (mkRenamedOptionModule ["agenix-rekey" "nodes" ] [ "agenix-rekey" "nixosConfigurations"])
in the relevant file. To my surprise using the old option does not trigger any warnings to be shown.
It looks like the trace gets triggered by the option type's use
function, but for some reason this is not triggering when I evaluate the flake. Is there anything obvious I'm missing? It's used in a perSystem
context like this:
perSystem = flake-parts-lib.mkPerSystemOption (
{ lib, ... }:
{
imports = [
(lib.mkRenamedOptionModule [ "agenix-rekey" "nodes" ] [ "agenix-rekey" "nixosConfigurations" ] )
];
options = {
# ...
};
}
);
Metadata
Assignees
Labels
No labels