diff options
author | Florian Klink <flokli@flokli.de> | 2024-06-28T09·14+0300 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-06-28T12·23+0000 |
commit | 03c9917749f67939f42cca75ba71bc28047e45e9 (patch) | |
tree | b9fea9c074cba38aa875bcbd17c784ba7f59eb41 /tvix/nix-compat/src/nixcpp/mod.rs | |
parent | 327d115f3fe3d855a37425686bb4e0286aaa49dc (diff) |
feat(nix-compat/nixcpp): init nix.conf config parsing r/8319
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>
Diffstat (limited to 'tvix/nix-compat/src/nixcpp/mod.rs')
-rw-r--r-- | tvix/nix-compat/src/nixcpp/mod.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/nixcpp/mod.rs b/tvix/nix-compat/src/nixcpp/mod.rs new file mode 100644 index 000000000000..57518de8cc52 --- /dev/null +++ b/tvix/nix-compat/src/nixcpp/mod.rs @@ -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; |