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:
Victor Engmark 2021-08-27 10:45:24 +12:00
parent 2f5291f9cd
commit c71640822d

View file

@ -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'
'';
});
}