python314Packages.zigpy: do not install development tools
otherwise building a python env with zha fails like:
pkgs.buildEnv error: two given paths contain a conflicting subpath:
`/nix/store/n33xzvpshdigw47iq57v5m71hi90ckk1-python3.13-zigpy-2.0.0/lib/python3.13/site-packages/tools/__pycache__/__init__.cpython-313.opt-1.pyc' and
`/nix/store/mc1zg3b3a5v2pgvip56zminvjknpx1fp-python3.13-zha-2.0.0/lib/python3.13/site-packages/tools/__pycache__/__init__.cpython-313.opt-1.pyc'
hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter
This commit is contained in:
@@ -37,6 +37,9 @@ buildPythonPackage (finalAttrs: {
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"setuptools-git-versioning<2"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${finalAttrs.version}"'
|
||||
|
||||
# do not install development tools
|
||||
rm -r tools
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user