diff --git a/Cargo.lock b/Cargo.lock index d4ecdde..f57ca3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -383,7 +383,7 @@ checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" [[package]] name = "envhub" -version = "0.2.17" +version = "0.2.18" dependencies = [ "anyhow", "clap 3.2.25", @@ -412,7 +412,7 @@ dependencies = [ [[package]] name = "envhub-hm" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "envhub-types", @@ -424,7 +424,7 @@ dependencies = [ [[package]] name = "envhub-pkgs" -version = "0.1.3" +version = "0.1.5" dependencies = [ "anyhow", "users", diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 111a18f..d523a1f 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -16,8 +16,8 @@ version = "0.2.18" anyhow = "1.0.71" clap = "3.2.20" envhub-ext = {path = "../ext", version = "0.1.1"} -envhub-hm = {path = "../hm", version = "0.2.4"} -envhub-pkgs = {path = "../pkgs", version = "0.1.4"} +envhub-hm = {path = "../hm", version = "0.2.5"} +envhub-pkgs = {path = "../pkgs", version = "0.1.5"} envhub-providers = {path = "../providers", version = "0.2.0"} envhub-stow = {path = "../stow", version = "0.1.0"} envhub-types = {path = "../types", version = "0.2.2"} diff --git a/crates/hm/Cargo.toml b/crates/hm/Cargo.toml index d13ebbd..1b7ee1e 100644 --- a/crates/hm/Cargo.toml +++ b/crates/hm/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["nix", "shell", "environment", "dotfiles"] license = "MIT" name = "envhub-hm" repository = "https://github.com/tsirysndr/envhub" -version = "0.2.4" +version = "0.2.5" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/hm/src/nix.rs b/crates/hm/src/nix.rs index 1bea380..4143fe5 100644 --- a/crates/hm/src/nix.rs +++ b/crates/hm/src/nix.rs @@ -20,7 +20,7 @@ pub fn install() -> Result<(), Error> { ); let mut child = Command::new("sh") .arg("-c") - .arg("type systemctl > /dev/null") + .arg("type systemctl > /dev/null 2> /dev/null") .spawn()?; let status = child.wait()?; let init = match status.code() { diff --git a/crates/pkgs/Cargo.toml b/crates/pkgs/Cargo.toml index fdac858..aea8930 100644 --- a/crates/pkgs/Cargo.toml +++ b/crates/pkgs/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["nix", "shell", "environment", "dotfiles"] license = "MIT" name = "envhub-pkgs" repository = "https://github.com/tsirysndr/envhub" -version = "0.1.4" +version = "0.1.5" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/pkgs/src/nix.rs b/crates/pkgs/src/nix.rs index 63346b3..9d94427 100644 --- a/crates/pkgs/src/nix.rs +++ b/crates/pkgs/src/nix.rs @@ -38,7 +38,7 @@ impl PackageManager for Nix { ); let mut child = Command::new("sh") .arg("-c") - .arg("type systemctl > /dev/null") + .arg("type systemctl > /dev/null 2> /dev/null") .spawn()?; let status = child.wait()?; let init = match status.code() {