Skip to content

Commit

Permalink
fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
LeChatP committed Sep 5, 2024
1 parent fc2f935 commit 042b621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions xtask/src/install/dependencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ fn development_dependencies(os: &OsTarget) -> &'static [&'static str] {
match os {
OsTarget::Debian | OsTarget::Ubuntu => &["libpam0g-dev", "libpcre2-dev"],
OsTarget::RedHat => &["pcre2-devel", "clang-devel", "openssl-devel", "pam-devel"],
OsTarget::Fedora => &["pam-devel", "pcre2-devel", "clang", "openssl-devel"],
OsTarget::ArchLinux => &["pam-devel", "pcre2-devel", "clang", "libssl", "pkg-config"],
OsTarget::Fedora => &["clang-devel", "openssl-devel", "pam-devel"],
OsTarget::ArchLinux => &["clang", "pkg-config"],
}
}

Expand Down Expand Up @@ -89,7 +89,7 @@ pub fn install(opts: InstallDependenciesOptions) -> Result<(), anyhow::Error> {
}
OsTarget::ArchLinux => {
let _ = std::process::Command::new("pacman")
.arg("-Sy")
.arg("-Syu")
.arg("--noconfirm")
.args(get_dependencies(&os, &opts.dev))
.status()?;
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/install/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub struct InstallDependenciesOptions {
#[clap(long, short)]
pub os: Option<OsTarget>,

/// Install dependencies before building
/// Install dependencies before installing
#[clap(long, short = 'i')]
pub install_dependencies: bool,

Expand Down

0 comments on commit 042b621

Please sign in to comment.