feat: nix_nar
This commit is contained in:
@@ -8,7 +8,10 @@ use utils::eval_result;
|
||||
fn init() {
|
||||
static INIT: Once = Once::new();
|
||||
INIT.call_once(|| {
|
||||
#[cfg(not(feature = "daemon"))]
|
||||
unsafe { std::env::set_var("NIX_JS_STORE_MODE", "simulated") };
|
||||
#[cfg(feature = "daemon")]
|
||||
unsafe { std::env::set_var("NIX_JS_STORE_MODE", "daemon") };
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user