fix copy
This commit is contained in:
parent
dc9a2450d6
commit
fb81009336
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ async fn check_path_validity(store_path: &str) -> anyhow::Result<bool> {
|
||||||
|
|
||||||
async fn copy_path(store_path: &str, copy_to: &str) -> anyhow::Result<()> {
|
async fn copy_path(store_path: &str, copy_to: &str) -> anyhow::Result<()> {
|
||||||
let mut cmd = WrappedChild::new(
|
let mut cmd = WrappedChild::new(
|
||||||
Command::new("nix").args(&["copy", "--to", copy_to]),
|
Command::new("nix").args(&["copy", "--to", copy_to, store_path]),
|
||||||
Some(format!("nix copy {}", store_path)),
|
Some(format!("nix copy {}", store_path)),
|
||||||
)?;
|
)?;
|
||||||
loop {
|
loop {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue