mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
feat: Make virtualenv installable
I do not fully understand why the version specification breaks the installation, because `poetry install` and `pip install --requirement=<(poetry export)` both work just fine. Closes #340.
This commit is contained in:
parent
2f5291f9cd
commit
c71640822d
1 changed files with 6 additions and 0 deletions
|
@ -1971,4 +1971,10 @@ self: super:
|
|||
tomli = super.tomli.overridePythonAttrs (old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ self.flit-core ];
|
||||
});
|
||||
|
||||
virtualenv = super.virtualenv.overridePythonAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace 'platformdirs>=2,<3' 'platformdirs'
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue