mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 09:41:39 -05:00
fix: trio fix
This commit is contained in:
parent
897cd6645d
commit
a1b220f20a
2 changed files with 10 additions and 0 deletions
|
@ -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).
|
||||
(self: super: {
|
||||
# Upstream nixpkgs uses non canonical names
|
||||
async-generator = super.async-generator or super.async_generator or null;
|
||||
})
|
||||
|
||||
(self: super: lib.attrsets.mapAttrs
|
||||
(
|
||||
name: value:
|
||||
|
|
|
@ -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: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ self.outcome self.trio ];
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue