python314Packages.zha: 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:
@@ -41,6 +41,9 @@ buildPythonPackage (finalAttrs: {
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail '"setuptools-git-versioning<3"' ""
|
||||
|
||||
# do not install development tools
|
||||
rm -r tools
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user