Skip to content

Bump nixpkgs and poetry2nix#301

Merged
sigprof merged 5 commits into
mainfrom
bump-nixpkgs
Feb 1, 2024
Merged

Bump nixpkgs and poetry2nix#301
sigprof merged 5 commits into
mainfrom
bump-nixpkgs

Conversation

@sigprof
Copy link
Copy Markdown
Owner

@sigprof sigprof commented Feb 1, 2024

Bump nixpkgs to the current nixpkgs-unstable snapshot (2024-02-01). This might actually avoid the need to build avr-gcc from source on Darwin, because the build problems were fixed upstream.

Bump poetry2nix to the most recent version (2024.1.1244871) to match nixpkgs and get updated overrides for Python packages.

Drop most local overrides for Python packages which are now included in poetry2nix.

Currently there are some warnings during evaluation:

trace: warning: `pythonForBuild` (from `python*`) has been renamed to `pythonOnBuildForHost`
trace: warning: `pythonForBuild` (from `python*`) has been renamed to `pythonOnBuildForHost`

These warnings are because of a change in Nixpkgs (NixOS/nixpkgs#265764) which needs some corresponding changes in poetry2nix (nix-community/poetry2nix#1521).

The rest of override still stays, because the version in `poetry2nix`
might be incomplete (it adds only `preConfigure` from nixpkgs, but not
all `buildInputs` from there, and this may result in impurities on
Darwin if the build script somehow finds the non-Nix version of those
libraries), and I don't have a way to test the Darwin build properly.
@sigprof sigprof merged commit 8a8bd1c into main Feb 1, 2024
@sigprof sigprof deleted the bump-nixpkgs branch February 1, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant