From fb810093369057b0cef1cadcd9c9842a00186897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9B=A7-440729=20=5Bsophie=5D?= Date: Sat, 28 Jun 2025 00:05:19 +0200 Subject: [PATCH] fix copy --- src/copy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copy.rs b/src/copy.rs index 9c360c1..9a87de1 100644 --- a/src/copy.rs +++ b/src/copy.rs @@ -143,7 +143,7 @@ async fn check_path_validity(store_path: &str) -> anyhow::Result { async fn copy_path(store_path: &str, copy_to: &str) -> anyhow::Result<()> { 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)), )?; loop {