Introduce pyproject-nix overlay in nix flake#4862
Merged
automergerpr-permission-manager[bot] merged 4 commits intodevelopfrom Oct 2, 2025
Merged
Introduce pyproject-nix overlay in nix flake#4862automergerpr-permission-manager[bot] merged 4 commits intodevelopfrom
automergerpr-permission-manager[bot] merged 4 commits intodevelopfrom
Conversation
ehildenb
approved these changes
Oct 1, 2025
46ae51f
into
develop
63 of 69 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the past, when we were using poetry2nix, we used additional overlays in nix to ensure that nix flake overrides, e.g.
nix build --override-input kevm/k-framework v1.0.0, do not only override the nix flake but also the python package that was locked inpoetry.lock.With the migration to
uv2nix, this overlay was removed, causing confusion and overhead when wanting to override python code using nix flake overrides. This PR re-introduces these overlays that can be used in dependent nix flakes to re-establish this behaviour. Due touv2nixusing the newer nix python packaging toolingpyproject-nix, this code adds more complexity in comparison topoetry2nix, though it nonetheless achieves the same result.There will be similar PRs in other repositories introducing and using these pyproject-nix overlays.