about summary refs log tree commit diff
path: root/tvix/nix-compat/src/nixcpp
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/nixcpp')
-rw-r--r--tvix/nix-compat/src/nixcpp/conf.rs32
1 files changed, 16 insertions, 16 deletions
diff --git a/tvix/nix-compat/src/nixcpp/conf.rs b/tvix/nix-compat/src/nixcpp/conf.rs
index 6969e05856ac..909b3c9eb4a6 100644
--- a/tvix/nix-compat/src/nixcpp/conf.rs
+++ b/tvix/nix-compat/src/nixcpp/conf.rs
@@ -4,22 +4,22 @@ use std::{fmt::Display, str::FromStr};
 /// This list is not exhaustive, feel free to add more.
 #[derive(Clone, Debug, Default, Eq, PartialEq)]
 pub struct NixConfig<'a> {
-    allowed_users: Option<Vec<&'a str>>,
-    auto_optimise_store: Option<bool>,
-    cores: Option<u64>,
-    max_jobs: Option<u64>,
-    require_sigs: Option<bool>,
-    sandbox: Option<SandboxSetting>,
-    sandbox_fallback: Option<bool>,
-    substituters: Option<Vec<&'a str>>,
-    system_features: Option<Vec<&'a str>>,
-    trusted_public_keys: Option<Vec<crate::narinfo::PubKey>>,
-    trusted_substituters: Option<Vec<&'a str>>,
-    trusted_users: Option<Vec<&'a str>>,
-    extra_platforms: Option<Vec<&'a str>>,
-    extra_sandbox_paths: Option<Vec<&'a str>>,
-    experimental_features: Option<Vec<&'a str>>,
-    builders_use_substitutes: Option<bool>,
+    pub allowed_users: Option<Vec<&'a str>>,
+    pub auto_optimise_store: Option<bool>,
+    pub cores: Option<u64>,
+    pub max_jobs: Option<u64>,
+    pub require_sigs: Option<bool>,
+    pub sandbox: Option<SandboxSetting>,
+    pub sandbox_fallback: Option<bool>,
+    pub substituters: Option<Vec<&'a str>>,
+    pub system_features: Option<Vec<&'a str>>,
+    pub trusted_public_keys: Option<Vec<crate::narinfo::PubKey>>,
+    pub trusted_substituters: Option<Vec<&'a str>>,
+    pub trusted_users: Option<Vec<&'a str>>,
+    pub extra_platforms: Option<Vec<&'a str>>,
+    pub extra_sandbox_paths: Option<Vec<&'a str>>,
+    pub experimental_features: Option<Vec<&'a str>>,
+    pub builders_use_substitutes: Option<bool>,
 }
 
 impl<'a> NixConfig<'a> {