nushell: Update to 0.62.0

This commit is contained in:
Tee KOBAYASHI 2022-05-05 10:09:41 +09:00 committed by buttaface
parent def106781f
commit 7c37239dff
2 changed files with 17 additions and 2 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.nushell.sh
TERMUX_PKG_DESCRIPTION="A new type of shell operating on structured data"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.61.0
TERMUX_PKG_VERSION=0.62.0
TERMUX_PKG_SRCURL=https://github.com/nushell/nushell/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=9d12eafd790fbd7bde4d4a71bf5121cc4897fbaf18c0ac50167fb6153167fe57
TERMUX_PKG_SHA256=ed183be2579979097368441b0ded5cb21653f4e6f50b530729e65883cfe2aa20
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="openssl, zlib"
TERMUX_PKG_AUTO_UPDATE=true

View File

@ -0,0 +1,15 @@
--- a/crates/nu-path/src/tilde.rs
+++ b/crates/nu-path/src/tilde.rs
@@ -53,6 +53,12 @@
// Returns home dir of user.
}
+#[cfg(target_os = "android")]
+#[allow(unused)]
+fn user_home_dir(username: &str) -> PathBuf {
+ PathBuf::from(String::from("@TERMUX_HOME@"))
+}
+
#[cfg(target_os = "macos")]
fn user_home_dir(username: &str) -> PathBuf {
match dirs_next::home_dir() {