Add overrides for findpython and idna

This commit is contained in:
Andreas Zweili 2022-11-19 17:44:23 +01:00
parent 3f9cbf6806
commit 5beaecebba
1 changed files with 12 additions and 0 deletions

View File

@ -17,6 +17,18 @@
pkgs.gnumake
(pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
overrides = pkgs.poetry2nix.defaultPoetryOverrides.extend (self: super: {
findpython = super.findpython.overridePythonAttrs (
old: {
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.pdm ];
}
);
idna = super.idna.overridePythonAttrs (
old: {
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.python39Packages.flit-core ];
}
);
});
})
pkgs.python39Packages.poetry
];