piston-cli: fix build
This commit is contained in:
parent
c283c92d90
commit
01fc7c527c
|
@ -18,13 +18,14 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [
|
nativeBuildInputs = with python3Packages; [
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
pythonRelaxDeps = [
|
||||||
substituteInPlace pyproject.toml \
|
"rich"
|
||||||
--replace 'rich = "^10.1.0"' 'rich = "*"' \
|
"more-itertools"
|
||||||
--replace 'PyYAML = "^5.4.1"' 'PyYAML = "*"'
|
"PyYAML"
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
broken = stdenv.isDarwin;
|
||||||
|
|
Loading…
Reference in a new issue