Skip to content

Commit

Permalink
cargo: specify required features for Nix dependency
Browse files Browse the repository at this point in the history
Nix 0.27 introduced a breaking change. To continue using Nix
specify the features required by coreos-installer.

See: https://github.com/nix-rust/nix/blob/master/CHANGELOG.md#0270---2023-08-28
  • Loading branch information
prestist committed Sep 8, 2023
1 parent 750e020 commit e20b4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ hex = "^0.4"
ignition-config = ">= 0.3, < 0.4"
lazy_static = "^1.4"
libc = "^0.2"
nix = ">= 0.24, < 0.28"
nix = { version = ">= 0.24, < 0.28", "default_features" = false, "features" = [ "dir", "ioctl", "mount", "process", "sched", "signal", "user"] }
nmstate = { version = ">= 2.2.3, < 3", default-features = false, features = ["gen_conf"] }
openssl = "^0.10"
pipe = ">= 0.3, < 0.5"
Expand Down

0 comments on commit e20b4c4

Please sign in to comment.