Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get settings info out of headers, out of libutil #11033

Draft
wants to merge 81 commits into
base: master
Choose a base branch
from

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Jul 3, 2024

Motivation

Want to separate the current configuration script and args infra from the core libraries (libstore and libexpr), where it doesn't belong, and push down into libmain.

Context

Do not review by commits

  • contains commits from a different PR that are listed here because that PR was squashed
  • not much of useful separation anyway in this commit history

Progress on #5638

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@roberth roberth added the settings Settings, global flags, nix.conf label Jul 5, 2024
fzakaria and others added 22 commits July 15, 2024 11:10
Following what is outlined in NixOS#10766 refactor the uds-remote-store such
that the member variables (state) don't live in the store itself but in
the config object.

Additionally, the config object includes a new necessary constructor
that takes a scheme & authority.

Minor:
* code formatting
* cleanup of getting default path
* added some comments
Revert back to basic constructor in store-api.cc

Co-authored-by: John Ericson <[email protected]>
Hopefully this fixes the macOS link error. It's also good for
compilation time.
Not having these causes some issues with the new unit tests.
It is a property of the configuration of a store --- how a store URL is
parsed into a store config, not a store itself.

Progress towards NixOS#10766
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c api Nix as a C library with a stable interface new-cli Relating to the "nix" command repl The Read Eval Print Loop, "nix repl" command and debugger settings Settings, global flags, nix.conf store Issues and pull requests concerning the Nix store with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants