change facts path to be reachable as a store path

This commit is contained in:
Jörg Thalheim 2024-03-15 11:44:18 +01:00
parent 91a51e837e
commit 377302ff6c

View File

@ -147,7 +147,7 @@
description = ''
path to a fact which is generated by the generator
'';
default = "${config.clanCore.clanDir}/machines/${config.clanCore.machineName}/facts/${fact.config._module.args.name}";
default = config.clanCore.clanDir + "/machines/${config.clanCore.machineName}/facts/${fact.config._module.args.name}";
};
value = lib.mkOption {
defaultText = lib.literalExpression "\${config.clanCore.clanDir}/\${fact.config.path}";