Hello,
the packages are build with uv2nix and included in home.packages which is causing this conflict when building home-manager-path obviously.
$ nix log /nix/store/jxz85z03xwgcfynwv4dqfln9jv4aihc3-home-manager-path.drv
structuredAttrs is enabled
pkgs.buildEnv error: two given paths contain a conflicting subpath:
`/nix/store/pkg1/pyvenv.cfg' and
`/nix/store/pkg2/pyvenv.cfg'
hint: this may be caused by two different versions of the same package in buildEnv's `paths` parameter
hint: `pkgs.nix-diff` can be used to compare derivations
The python packages are pretty simple like the hello-world example in uv2nix and basically copy pasted from that example: https://github.com/pyproject-nix/uv2nix/tree/83995ef5e4ece3c9c704aa645bbff439e15a0ac3/templates/hello-world
pyvenv.cfg is generated by uv2nix and before this conflict I had a /lib conflict with a python library that both have set in pyproject.toml, which I solved by pinning that to the same version, which removed the error for the /lib case, but in this case I have no clue.
Do I need to clean the uv2nix build output or what is the correct approach to solve this?