From e20b4c4f5aec0153e528c8cccd3bd6ef77e7ded6 Mon Sep 17 00:00:00 2001 From: Steven Presti Date: Fri, 8 Sep 2023 15:55:32 -0400 Subject: [PATCH] cargo: specify required features for Nix dependency 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 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fe279525a..4275d54e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"