remarshal_0_17: respect existing packageOverrides
Setting packageOverrides when overriding python will unset any previous overrides. We have to manually compose the packageOverrides.
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
}:
|
||||
|
||||
let
|
||||
python = python3Packages.python.override {
|
||||
self = python3Packages.python;
|
||||
packageOverrides = self: super: {
|
||||
tomlkit = super.tomlkit.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.12.5";
|
||||
@@ -26,7 +24,10 @@ let
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
python = python3Packages.python.override (oa: {
|
||||
self = python3Packages.python;
|
||||
packageOverrides = lib.composeExtensions (oa.packageOverrides or (_: _: { })) packageOverrides;
|
||||
});
|
||||
pythonPackages = python.pkgs;
|
||||
in
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
|
||||
Reference in New Issue
Block a user