Skip to content

Commit

Permalink
Parse mkosi.profiles in included configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Jan 21, 2025
1 parent f09ea40 commit 587656b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkosi/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4121,7 +4121,7 @@ def parse_new_includes(self) -> None:
)

with chdir(path if path.is_dir() else Path.cwd()):
self.parse_config_one(path if path.is_file() else Path("."))
self.parse_config_one(path if path.is_file() else Path("."), parse_profiles=True)

def finalize_value(self, setting: ConfigSetting[T]) -> Optional[T]:
# If a value was specified on the CLI, it always takes priority. If the setting is a collection of
Expand Down

0 comments on commit 587656b

Please sign in to comment.