Skip to content

Commit

Permalink
Merge pull request #29 from tsirysndr/fix/nix-installer-no-confirm
Browse files Browse the repository at this point in the history
fix issue with nix installer --no-confirm option
  • Loading branch information
tsirysndr authored Feb 18, 2024
2 parents a06d304 + 2989faa commit 54b9fa9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ license = "MIT"
name = "envhub"
readme = "../../README.md"
repository = "https://github.com/tsirysndr/envhub"
version = "0.2.5"
version = "0.2.6"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.71"
clap = "3.2.20"
envhub-ext = {path = "../ext", version = "0.1.0"}
envhub-hm = {path = "../hm", version = "0.1.3"}
envhub-pkgs = {path = "../pkgs", version = "0.1.1"}
envhub-hm = {path = "../hm", version = "0.1.4"}
envhub-pkgs = {path = "../pkgs", version = "0.1.2"}
envhub-providers = {path = "../providers", version = "0.2.0"}
envhub-stow = {path = "../stow", version = "0.1.0"}
envhub-types = {path = "../types", version = "0.2.0"}
Expand Down
2 changes: 1 addition & 1 deletion crates/hm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords = ["nix", "shell", "environment", "dotfiles"]
license = "MIT"
name = "envhub-hm"
repository = "https://github.com/tsirysndr/envhub"
version = "0.1.3"
version = "0.1.4"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion crates/hm/src/nix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn install() -> Result<(), Error> {

let mut child = Command::new("sh")
.arg("-c")
.arg("type nix > /dev/null || curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- --no-confirm install")
.arg("type nix > /dev/null || curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm")
.spawn()?;
child.wait()?;

Expand Down
2 changes: 1 addition & 1 deletion crates/pkgs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords = ["nix", "shell", "environment", "dotfiles"]
license = "MIT"
name = "envhub-pkgs"
repository = "https://github.com/tsirysndr/envhub"
version = "0.1.1"
version = "0.1.2"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion crates/pkgs/src/nix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl PackageManager for Nix {

let mut child = Command::new("sh")
.arg("-c")
.arg("type nix > /dev/null || curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- --no-confirm install")
.arg("type nix > /dev/null || curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm ")
.spawn()?;
child.wait()?;

Expand Down

0 comments on commit 54b9fa9

Please sign in to comment.