bins/xin-status: pull in uname and update xintray to use it

This commit is contained in:
Aaron Bieber 2024-02-06 08:56:07 -07:00
parent 1e1470e3ef
commit d843769f05
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -17,6 +17,8 @@
$sys_diff =~ s/\e\[[0-9;]*m(?:\e\[K)?//g; $sys_diff =~ s/\e\[[0-9;]*m(?:\e\[K)?//g;
$info->{system_diff} = encode_base64($sys_diff); $info->{system_diff} = encode_base64($sys_diff);
$info->{uname_a} = `uname -a`;
chomp $info->{uname_a};
print encode_json $info; print encode_json $info;
'' ''

6
flake.lock generated
View File

@ -574,11 +574,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1706533372, "lastModified": 1707234009,
"narHash": "sha256-hKUfvEYQWSfb9y99wUE4V8qqKbkCTlP+P9rpJLMZhZQ=", "narHash": "sha256-cVsnhPrqdYexOYXP+3KL4M7LfbxrTWNgfLo2W/PVii0=",
"owner": "qbit", "owner": "qbit",
"repo": "xintray", "repo": "xintray",
"rev": "2db51608995317dcae33c450a2cabf6580cb8210", "rev": "2f7d9a4357331949383c569a99517a210ef6d1e6",
"type": "github" "type": "github"
}, },
"original": { "original": {