From c9c6d514f1ed62e9a232a4d31dacfd9bda28f2d5 Mon Sep 17 00:00:00 2001 From: frectonz Date: Sun, 23 Aug 2026 20:26:02 +0300 Subject: [PATCH] libsql-ffi: pass `-f` to cp to fix builds under Nix on macOS --- libsql-ffi/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libsql-ffi/build.rs b/libsql-ffi/build.rs index ceda2a6794..6b4d89024f 100644 --- a/libsql-ffi/build.rs +++ b/libsql-ffi/build.rs @@ -82,6 +82,7 @@ fn copy_with_cp(from: impl AsRef, to: impl AsRef) -> io::Result<()> #[cfg(not(target_os = "macos"))] let command = command.arg("--no-preserve=mode,ownership"); match command + .arg("-f") .arg("-R") .arg(from.as_ref().to_str().unwrap()) .arg(to.as_ref().to_str().unwrap())