diff --git a/src/action/common/configure_init_service.rs b/src/action/common/configure_init_service.rs index 1997abccf..a6b109f56 100644 --- a/src/action/common/configure_init_service.rs +++ b/src/action/common/configure_init_service.rs @@ -169,7 +169,7 @@ impl Action for ConfigureInitService { #[cfg(target_os = "macos")] InitSystem::Launchd => { let src = std::path::Path::new(DARWIN_NIX_DAEMON_SOURCE); - tokio::fs::copy(src.clone(), DARWIN_NIX_DAEMON_DEST) + tokio::fs::copy(src, DARWIN_NIX_DAEMON_DEST) .await .map_err(|e| { Self::error(ActionErrorKind::Copy( diff --git a/src/planner/macos.rs b/src/planner/macos.rs index a35a91a5f..347e4bb32 100644 --- a/src/planner/macos.rs +++ b/src/planner/macos.rs @@ -135,7 +135,7 @@ impl Planner for Macos { CreateNixVolume::plan( root_disk.unwrap(), /* We just ensured it was populated */ self.volume_label.clone(), - false, + self.case_sensitive, encrypt, ) .await