nix-community / dream2nix

Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]
https://nix-community.github.io/dream2nix
MIT License
928 stars 121 forks source link

pdm: groups at the top of pdm.lock don't update once lockfile exists #999

Open abathur opened 3 weeks ago

abathur commented 3 weeks ago

I'm not sure if this is expected behavior, a pdm problem, a sign we're holding pdm wrong, or a sign I'm holding dream2nix wrong--but I noticed that new/removed/renamed groups added to my pyproject.toml under [tool.pdm.dev-dependencies] don't get updated in the [metadata] section at the top of pdm.lock unless I remove the file before running nix run .#blah.lock.

phaer commented 2 weeks ago

@abathur Thanks for the report, that's not expected behavior! Going to have a look, a reproducer would be appreciated due to time constraints :)