@@ -1,17 +1,17 @@
1−{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
1+{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "ion";
5− version = "unstable-2020-03-22";
5+ version = "unstable-2021-05-10";
66
77 src = fetchFromGitHub {
88 owner = "redox-os";
99 repo = "ion";
10− rev = "1fbd29a6d539faa6eb0f3186a361e208d0a0bc05";
11− sha256 = "0r5c87cs8jlc9kpb6bi2aypldw1lngf6gzjirf13gi7iy4q08ik7";
10+ rev = "1170b84587bbad260a3ecac8e249a216cb1fd5e9";
11+ sha256 = "sha256-lI1GwA3XerRJaC/Z8vTZc6GzRDLjv3w768C+Ui6Q+3Q=";
1212 };
1313
14− cargoSha256 = "1ph3r3vspy700mb8pica8478v9arqz07k2nzpbrdkdkqgfcwlgcg";
14+ cargoSha256 = "sha256-hURpgxc99iIMtzIlR6Kbfqcbu1uYLDHnfVLqgmMbvFA=";
1515
1616 meta = with lib; {
1717 description = "Modern system shell with simple (and powerful) syntax";
@@ -22,8 +22,11 @@ rustPlatform.buildRustPackage rec {
2222
2323 buildInputs = lib.optional stdenv.hostPlatform.isDarwin [
2424 Security
25+ libiconv
2526 ];
2627
28+ doCheck = !stdenv.hostPlatform.isDarwin;
29+
2730 passthru = {
2831 shellPath = "/bin/ion";
2932 };