fix: don't use NIX_ALLOW_INSECURE=1
Some checks are pending
Conventional Commits / Conventional Commits (push) Waiting to run

Fix: #12
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2024-09-05 07:56:31 +02:00
parent 11e92f0e6b
commit eade90b797
Signed by: cafkafk
GPG key ID: 26C542FD97F965CE

View file

@ -12,7 +12,6 @@ use std::{
pub fn get_requisites(host: &str, config_dir: &str) -> String { pub fn get_requisites(host: &str, config_dir: &str) -> String {
let get_drv_path = Command::new("nix") let get_drv_path = Command::new("nix")
.current_dir(Path::new(config_dir)) .current_dir(Path::new(config_dir))
.env("NIXPKGS_ALLOW_INSECURE", "1") // FIXME Idk but fix it
.args([ .args([
"build", "build",
"--impure", "--impure",