]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Use Config.finalize_environment() in Installer.finalize_environment()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 19:43:43 +0000 (20:43 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 20 Feb 2025 20:22:34 +0000 (21:22 +0100)
Otherwise we don't get the required proxy environment variables.

mkosi/installer/__init__.py

index 4afe44036d33637a39caa4c304740b96c3821abc..bc912dfecdc155fba481a9edae7a87809727ed59 100644 (file)
@@ -58,7 +58,7 @@ class PackageManager:
                 "hostonly_l": "no",
             }
 
-        return context.config.environment | env
+        return context.config.finalize_environment() | env
 
     @classmethod
     def env_cmd(cls, context: Context) -> list[PathString]: