From f826b8cce887b0c5cb4e2fcc680cb3c08c519fa9 Mon Sep 17 00:00:00 2001 From: pugaizai Date: Sat, 22 Mar 2025 18:38:41 +0800 Subject: [PATCH] fix: update nix to fix loongarch64 build --- Cargo.lock | 5 ++--- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4ce94f..5afa467 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1169,7 +1169,7 @@ dependencies = [ "libcosmic", "log", "logind-zbus", - "nix 0.26.4", + "nix 0.29.0", "pam-client", "pwd", "ron 0.8.1", @@ -1204,7 +1204,7 @@ dependencies = [ "env_logger", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "pwd", "ron 0.8.1", "serde", @@ -3605,7 +3605,6 @@ dependencies = [ "cfg-if", "libc", "memoffset 0.7.1", - "pin-utils", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 8367dc3..5e64fef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,7 @@ rust-version = "1.79.0" env_logger = "0.10.2" log = "0.4.22" # Fix zbus compilation by manually adding nix with user feature -nix = { version = "0.26", features = ["user"] } +nix = { version = "0.29", features = ["user"] } pwd = "1.4.0" ron = "0.8" serde = "1"