Verified Commit 63dc0c39 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix issues getting home directory

parent 598e6998
......@@ -736,9 +736,9 @@ dependencies = [
[[package]]
name = "getrandom"
version = "0.2.5"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d39cd93900197114fa1fcb7ae84ca742095eed9442088988ae74fa744e930e77"
checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad"
dependencies = [
"cfg-if 1.0.0",
"libc",
......@@ -1362,7 +1362,7 @@ dependencies = [
[[package]]
name = "nix"
version = "0.23.1"
source = "git+https://github.com/nix-rust/nix.git#4ccc6c6e69fea5005cf6f8c50597e9296dd8dc92"
source = "git+https://github.com/nix-rust/nix.git?rev=ff6f8b8a#ff6f8b8a26c8d61f4341e441acf405402b46a430"
dependencies = [
"bitflags",
"cfg-if 1.0.0",
......@@ -1870,9 +1870,9 @@ dependencies = [
[[package]]
name = "quote"
version = "1.0.16"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4af2ec4714533fcdf07e886f17025ace8b997b9ce51204ee69b6da831c3da57"
checksum = "632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58"
dependencies = [
"proc-macro2",
]
......@@ -2041,7 +2041,7 @@ version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7776223e2696f1aa4c6b0170e83212f47296a00424305117d013dfe86fb0fe55"
dependencies = [
"getrandom 0.2.5",
"getrandom 0.2.6",
"redox_syscall",
"rust-argon2",
"thiserror",
......@@ -2147,9 +2147,9 @@ version = "0.1.0"
[[package]]
name = "semver"
version = "1.0.6"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4a3381e03edd24287172047536f20cabde766e2cd3e65e6b00fb3af51c4f38d"
checksum = "d65bd28f48be7196d222d95b9243287f48d27aca604e08497513019ff0502cc4"
[[package]]
name = "serde"
......@@ -2310,9 +2310,9 @@ checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c"
[[package]]
name = "syn"
version = "1.0.89"
version = "1.0.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54"
checksum = "704df27628939572cd88d33f171cd6f896f4eaca85252c6e0a72d8d8287ee86f"
dependencies = [
"proc-macro2",
"quote",
......@@ -2466,7 +2466,7 @@ version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
dependencies = [
"getrandom 0.2.5",
"getrandom 0.2.6",
]
[[package]]
......
......@@ -76,7 +76,7 @@ object-pool = { git = "https://github.com/CJP10/object-pool.git", rev = "b7461b6
auto_enums = "0.7"
atty = "0.2"
permutate = "0.3"
xdg = "2.2"
xdg = "2.4"
#nix = "0.23"
# FIXME: Needed because of https://github.com/nix-rust/nix/commit/ff6f8b8a26c8d61f4341e441acf405402b46a430
nix = { git = "https://github.com/nix-rust/nix.git", rev = "ff6f8b8a" }
......@@ -92,7 +92,7 @@ piston2d-sprite = { version = "0.58", optional = true }
users = "0.10"
[target."cfg(target_os = \"redox\")".dependencies]
redox_users = "0.4"
redox_users = "0.4.3"
[target."cfg(target_os = \"dragonfly\")".dependencies]
errno-dragonfly = "0.1.1"
......
......@@ -231,7 +231,7 @@ impl<'a> InteractiveShell<'a> {
Self::exec_init_file(&project_dir, &mut shell);
Self::load_history(&project_dir, &mut shell, &mut context.borrow_mut());
}
Err(err) => eprintln!("ion: unable to get xdg base directory: {}", err),
Err(err) => eprintln!("ion: unable to get xdg base directory: {:?}", err),
}
InteractiveShell { context, shell: RefCell::new(shell), terminated, huponexit }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment