chore: bump ci toolchain and MSRV (#506)

* chore: bump ci toolchain and MSRV

* fix clippy on macOS
This commit is contained in:
SteveLauC
2023-07-19 10:54:34 +08:00
committed by GitHub
parent 9415d7c61f
commit 0ec0e5a9dd
3 changed files with 4 additions and 3 deletions

View File

@@ -383,7 +383,7 @@ pub fn run_nix(ctx: &ExecutionContext) -> Result<()> {
#[cfg(target_os = "macos")]
{
if let Ok(..) = require("darwin-rebuild") {
if require("darwin-rebuild").is_ok() {
return Err(SkipStep(String::from(
"Nix-darwin on macOS must be upgraded via darwin-rebuild switch",
))