Skip to content

Commit c9c6d51

Browse files
committed
libsql-ffi: pass -f to cp to fix builds under Nix on macOS
1 parent d6c75af commit c9c6d51

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libsql-ffi/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ fn copy_with_cp(from: impl AsRef<Path>, to: impl AsRef<Path>) -> io::Result<()>
8282
#[cfg(not(target_os = "macos"))]
8383
let command = command.arg("--no-preserve=mode,ownership");
8484
match command
85+
.arg("-f")
8586
.arg("-R")
8687
.arg(from.as_ref().to_str().unwrap())
8788
.arg(to.as_ref().to_str().unwrap())

0 commit comments

Comments
 (0)