Skip to content

[Backport release-23.11] nixos-option: update to nix 2.18#293546

Merged
RaitoBezarius merged 1 commit intorelease-23.11from
backport-293542-to-release-23.11
Mar 5, 2024
Merged

[Backport release-23.11] nixos-option: update to nix 2.18#293546
RaitoBezarius merged 1 commit intorelease-23.11from
backport-293542-to-release-23.11

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 5, 2024

Bot-based backport to release-23.11, triggered by a label in #293542.

  • Before merging, ensure that this backport is acceptable for the release.
    • Even as a non-commiter, if you find that it is not acceptable, leave a comment.

This utility has horrendous code quality, partially due to nix's fault,
and really desperately needs to be rewritten, hopefully to not use the
nix C++ API. Either use the Python bindings to the Nix C API when the
Nix team merges the C API, or just write a clever bit of Nix script to
extract the data from a config, turn it into json, then process it into
good output in a CLI wrapper.

It currently does not support flakes and has many other issues.
(in my testing it did not accept -I nixos-path, it exploded due to
having plugins in /etc/nix/nix.conf with no way to override that, among
other breakage that simply does not exist in the Nix CLI).

(cherry picked from commit a07dd74)
@github-actions github-actions bot mentioned this pull request Mar 5, 2024
13 tasks
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Mar 5, 2024
@RaitoBezarius RaitoBezarius merged commit 880992d into release-23.11 Mar 5, 2024
@bjornfor bjornfor deleted the backport-293542-to-release-23.11 branch March 6, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants