Skip to content

Commit

Permalink
make compile on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Dec 10, 2024
1 parent 38b9117 commit 67e667d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rattler_menuinst/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ pub fn log_output(cmd_info: &str, output: std::process::Output) {
}

#[cfg(target_family = "unix")]
pub fn run_pre_create_command(pre_create_command: &str) -> Result<(), MenuInstError> {
use os::unix::fs::PermissionsExt;
pub fn run_pre_create_command(pre_create_command: &str) -> Result<(), crate::MenuInstError> {
use std::os::unix::fs::PermissionsExt;
use std::{io::Write, process::Command};

use fs_err as fs;
Expand Down

0 comments on commit 67e667d

Please sign in to comment.