mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-05 08:27:02 +00:00
Add comments for key
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
f46c312332
commit
95a0aa106d
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ in
|
|||
default = { };
|
||||
apply = mapAttrs (k: v: {
|
||||
_file = "${toString moduleLocation}#nixosModules.${k}";
|
||||
# Note: this neglects to represent potential differences due to input
|
||||
# overrides or flake-parts extendModules. However, the cost for this
|
||||
# is too high or plain infeasible respectively. We choose to implement
|
||||
# deduplication and disabledModules regardless, because not doing
|
||||
# so poses a more direct problem.
|
||||
key = "${toString moduleLocation}#nixosModules.${k}";
|
||||
imports = [ v ];
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue