fix: update nix to fix loongarch64 build

This commit is contained in:
pugaizai 2025-03-22 18:38:41 +08:00 committed by Michael Murphy
parent 5b383f669b
commit f826b8cce8
2 changed files with 3 additions and 4 deletions

5
Cargo.lock generated
View file

@ -1169,7 +1169,7 @@ dependencies = [
"libcosmic", "libcosmic",
"log", "log",
"logind-zbus", "logind-zbus",
"nix 0.26.4", "nix 0.29.0",
"pam-client", "pam-client",
"pwd", "pwd",
"ron 0.8.1", "ron 0.8.1",
@ -1204,7 +1204,7 @@ dependencies = [
"env_logger", "env_logger",
"libc", "libc",
"log", "log",
"nix 0.26.4", "nix 0.29.0",
"pwd", "pwd",
"ron 0.8.1", "ron 0.8.1",
"serde", "serde",
@ -3605,7 +3605,6 @@ dependencies = [
"cfg-if", "cfg-if",
"libc", "libc",
"memoffset 0.7.1", "memoffset 0.7.1",
"pin-utils",
] ]
[[package]] [[package]]

View file

@ -87,7 +87,7 @@ rust-version = "1.79.0"
env_logger = "0.10.2" env_logger = "0.10.2"
log = "0.4.22" log = "0.4.22"
# Fix zbus compilation by manually adding nix with user feature # 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" pwd = "1.4.0"
ron = "0.8" ron = "0.8"
serde = "1" serde = "1"