From 473e9f9422d26979fd695d083588b74821e4055a Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 13 Feb 2020 08:33:55 -0800 Subject: [PATCH] Tiny improvement to sys (#1385) --- crates/nu_plugin_sys/src/sys.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/nu_plugin_sys/src/sys.rs b/crates/nu_plugin_sys/src/sys.rs index cdb1dc2fa1..7a7e9b48b8 100644 --- a/crates/nu_plugin_sys/src/sys.rs +++ b/crates/nu_plugin_sys/src/sys.rs @@ -87,6 +87,7 @@ async fn host(tag: Tag) -> Value { if let Ok(platform) = platform_result { dict.insert_untagged("name", UntaggedValue::string(platform.system())); dict.insert_untagged("release", UntaggedValue::string(platform.release())); + dict.insert_untagged("version", UntaggedValue::string(platform.version())); dict.insert_untagged("hostname", UntaggedValue::string(platform.hostname())); dict.insert_untagged( "arch",