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",
"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]]

View file

@ -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"