Skip to content

toml11_4: init#442668

Closed
Chaostheorie wants to merge 1 commit intoNixOS:masterfrom
Chaostheorie:cr-toml11-4
Closed

toml11_4: init#442668
Chaostheorie wants to merge 1 commit intoNixOS:masterfrom
Chaostheorie:cr-toml11-4

Conversation

@Chaostheorie
Copy link
Contributor

@Chaostheorie Chaostheorie commented Sep 13, 2025

Init of toml11 with major version 4. This is a seperate package to keep toml11 (with version 3.x) for other dependent packages, like nix and lix.

The code is effectively the toml11 package however I have also made a minor adjustment to build & run the included unit tests.

It should be noted that the main reason for not replacing toml11, with toml11_3 and taking over with this derivation, is to avoid the mass rebuild from `nix.
I can't test those rebuilds locally and would like to avoid it unless necessary.

Successor of #430607


I noticed that cabinpkg contains an inlined build of toml11 4.2.0, it is likely possible to replace this with the toml11_4 from this PR.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

Init of toml11 with major version 4. This is a seperate package to keep
toml11 (with version 3.x) for other dependent packages, like nix and
lix.
@Chaostheorie
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 442668
Commit: f91e0e959d893a948f9613240c5b94157f48436c


x86_64-linux

✅ 1 package built:
  • toml11_4

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Sep 13, 2025
@Chaostheorie
Copy link
Contributor Author

Chaostheorie commented Sep 13, 2025

As a note to a reviewer or other (potential) maintainer, I did mark myself as the maintainer here however I'm at best a C++ beginner (can read/build code, can't meaningfully write it). This might be best handled by an actual user (like the lix or nix team) instead.

Chaostheorie added a commit to Chaostheorie/nixpkgs that referenced this pull request Sep 13, 2025
This replaced the ad-hoc toml11 4.2.0 build with toml11_4 from NixOS#442668
@Chaostheorie
Copy link
Contributor Author

For reviewer(s), the basic test for binaries/libraries was replacing the inlined build of toml11 4.2.0 in Chaostheorie/nixpkgs@7dc8fc1.

@Chaostheorie Chaostheorie marked this pull request as ready for review September 13, 2025 17:12
@alois31
Copy link
Contributor

alois31 commented Sep 13, 2025

This is indeed something that Lix could depend upon. However at the time of making the comment I underestimated the urgency of the toml11 bump, while overestimating the difficulty of preparing fixed Lix versions. If the nix team agrees it would probably be better to go ahead with #430607 and update Nix and Lix to fixed versions.

@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Sep 13, 2025
@Chaostheorie
Copy link
Contributor Author

Okay, then I will rebase the code from #430607 and amend with the changes for the unit tests.

@alois31
Copy link
Contributor

alois31 commented Sep 13, 2025

I would prefer to have input from the nix maintainers before additional changes are rushed, to prevent unnecessary back and forth.

This was referenced Sep 13, 2025
@Chaostheorie
Copy link
Contributor Author

I would prefer to have input from the nix maintainers before additional changes are rushed, to prevent unnecessary back and forth.

Sorry, I read that too late. There are now two open PRs, the other one is marked as a draft until the maintainers comment here.

@alois31
Copy link
Contributor

alois31 commented Sep 13, 2025

No, you did not read it too late. I just didn't write it explicitly enough.

@emilazy
Copy link
Member

emilazy commented Sep 13, 2025

Sorry about this…

We will most likely be bumping this soon for #394444, and I think the issues on the Lix and Nix end have been worked out – I have coordinated with @xokdvium on this and believe Nix already has fixed releases out, while Lix has merged patches – so a split version package is probably not the route we’ll take.

Enabling the tests does sound like a good idea, however, and it’d certainly be good to have a maintainer for this package if you feel like volunteering!

@Chaostheorie
Copy link
Contributor Author

Chaostheorie commented Sep 13, 2025

[..] - so a split version package is probably not the route we’ll take.

Thank you for the quick response, then I'll mark the other PR ready for review and close this one for now. This PR can be reopened, if the route does change in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants