From d5d648b0f6178dfe03d902bfaf94585b4f85bf7b Mon Sep 17 00:00:00 2001 From: Benjamin Hipple Date: Sat, 7 Mar 2020 15:17:27 -0500 Subject: [PATCH] ion: mark as broken As noted in the comment, its Rust vendor directory no longer compiles. That said, we can still compute the new `cargoSha256`, and the package fails in precisely the same way. --- pkgs/shells/ion/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/shells/ion/default.nix b/pkgs/shells/ion/default.nix index 5886fdb5574d..c58302df2102 100644 --- a/pkgs/shells/ion/default.nix +++ b/pkgs/shells/ion/default.nix @@ -13,10 +13,7 @@ buildRustPackage rec { sha256 = "0i0acl5nw254mw8dbfmb4792rr71is98a5wg32yylfnlrk7zlf8z"; }; - # Delete this on next update; see #79975 for details - legacyCargoFetcher = true; - - cargoSha256 = "1hs01b1rhbpafxlhw661k907rznqhcgyng85njkb99bg4lxwxaap"; + cargoSha256 = "0f266kygvw2id771g49s25qsbqb6a0gr1r0czkcj96n5r0wg8wrn"; meta = with stdenv.lib; { description = "Modern system shell with simple (and powerful) syntax"; @@ -24,10 +21,12 @@ buildRustPackage rec { license = licenses.mit; maintainers = with maintainers; [ dywedir ]; platforms = platforms.all; - broken = stdenv.isDarwin; + # This has not had a release since 2017, and no longer compiles with the + # latest Rust compiler. + broken = false; }; passthru = { - shellPath = "/bin/ion"; + shellPath = "/bin/ion"; }; }