feat(nix-compat/nixcpp): init nix.conf config parsing
This allows parsing files like `/etc/nix/nix.conf` into the `NixConfig` struct. Change-Id: I90b25f43c429dd56127500ff5068e83852adee13 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11888 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Brian Olsen <me@griff.name>
This commit is contained in:
parent
327d115f3f
commit
03c9917749
5 changed files with 250 additions and 0 deletions
9
tvix/nix-compat/src/nixcpp/mod.rs
Normal file
9
tvix/nix-compat/src/nixcpp/mod.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//! Contains code parsing some of the Nixcpp config files etc.
|
||||
//! left by Nix *on the local disk*.
|
||||
//!
|
||||
//! This is only for Nix' own state/config.
|
||||
//!
|
||||
//! More "standardized" protocols, like parts of the Nix HTTP Binary Cache
|
||||
//! protocol live elsewhere.
|
||||
|
||||
pub mod conf;
|
||||
Loading…
Add table
Add a link
Reference in a new issue