fixup
This commit is contained in:
parent
a0a35d7ff8
commit
8b1b1c9302
|
@ -149,10 +149,10 @@ async fn main_cli() -> Result<()> {
|
||||||
create_dir_all(parent).with_context(|| "Creating parent directories of nix.conf")?;
|
create_dir_all(parent).with_context(|| "Creating parent directories of nix.conf")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut nix_conf = OpenOptions::new()
|
let mut nix_conf = std::fs::OpenOptions::new()
|
||||||
.create(true)
|
.create(true)
|
||||||
.append(true)
|
.append(true)
|
||||||
.open(args.nix_conf)
|
.open(&args.nix_conf)
|
||||||
.with_context(|| "Creating nix.conf")?;
|
.with_context(|| "Creating nix.conf")?;
|
||||||
|
|
||||||
let store = Arc::new(NixStore::connect()?);
|
let store = Arc::new(NixStore::connect()?);
|
||||||
|
|
Loading…
Reference in a new issue