upgrade nix to 0.27 (#10223)

This fixes a segfault on Android when fetching the user group.

See: https://github.com/nix-rust/nix/issues/2084
This commit is contained in:
Skyler Hawthorne
2023-09-04 16:41:28 -04:00
committed by GitHub
parent b15c824932
commit 278bf7ffa9
4 changed files with 18 additions and 7 deletions

View File

@ -100,7 +100,7 @@ winreg = "0.50"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
umask = "2.1"
nix = { version = "0.26", default-features = false, features = ["user"] }
nix = { version = "0.27", default-features = false, features = ["user"] }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.trash]
optional = true