fix: trio fix

This commit is contained in:
Ryan Swart 2023-02-06 10:37:47 +08:00 committed by adisbladis
parent 897cd6645d
commit a1b220f20a
2 changed files with 10 additions and 0 deletions

View file

@ -237,6 +237,11 @@ lib.makeScope pkgs.newScope (self: {
( (
[ [
# Remove Python packages aliases with non-normalized names to avoid issues with infinite recursion (issue #750). # Remove Python packages aliases with non-normalized names to avoid issues with infinite recursion (issue #750).
(self: super: {
# Upstream nixpkgs uses non canonical names
async-generator = super.async-generator or super.async_generator or null;
})
(self: super: lib.attrsets.mapAttrs (self: super: lib.attrsets.mapAttrs
( (
name: value: name: value:

View file

@ -940,6 +940,11 @@ lib.composeManyExtensions [
} }
); );
trio = super.trio.overridePythonAttrs (old: {
propagatedBuildInputs = (old.propagatedBuildInputs or [ ])
++ [ self.async-generator self.idna ];
});
jeepney = super.jeepney.overridePythonAttrs (old: { jeepney = super.jeepney.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or [ ]) ++ [ self.outcome self.trio ]; buildInputs = (old.buildInputs or [ ]) ++ [ self.outcome self.trio ];
}); });