lol

zz: unstable-2021-03-07 -> unstable-2021-05-04

Tested by compiling hello example from upstream repository.

+13 -6
+13 -6
pkgs/development/compilers/zz/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, makeWrapper, z3 }: 1 + { lib, rustPlatform, fetchFromGitHub, makeWrapper, z3, pkgsHostTarget }: 2 + 3 + let 4 + runtimeDeps = [ 5 + z3 6 + pkgsHostTarget.targetPackages.stdenv.cc 7 + ]; 8 + in 2 9 3 10 rustPlatform.buildRustPackage rec { 4 11 pname = "zz"; 5 - version = "unstable-2021-03-07"; 12 + version = "unstable-2021-05-04"; 6 13 7 14 # when updating, choose commit of the latest build on http://bin.zetz.it/ 8 15 src = fetchFromGitHub { 9 16 owner = "zetzit"; 10 17 repo = "zz"; 11 - rev = "d3fc968ba2ae6668f930e39077f9a90aecb9fdc4"; 12 - sha256 = "18p17lgwq6rq1n76sj0dwb32bpxflfd7knky1v0sgmaxfpaq04y3"; 18 + rev = "18020b10b933cfe2fc7f2256b71e646889f9b1d2"; 19 + sha256 = "01nlyyk1qxk76dq2hw3wpbjwkh27zzp6mpczjnxdpv6rxs7mc825"; 13 20 }; 14 21 15 22 nativeBuildInputs = [ makeWrapper ]; 16 23 17 - cargoSha256 = "03xdmm4993hqdb3cihjjv4n4mdk8lnlccva08fh6m1d56p807rni"; 24 + cargoSha256 = "080rd8x4jsssnx4il80xcb81iw8pjcm70zckpa1hcijkw9104dgs"; 18 25 19 26 postPatch = '' 20 27 # remove search path entry which would reference /build ··· 26 33 cp -r modules "$out/share/zz/" 27 34 28 35 wrapProgram $out/bin/zz \ 29 - --prefix PATH ":" "${lib.getBin z3}/bin" \ 36 + --prefix PATH ":" "${lib.makeBinPath runtimeDeps}" \ 30 37 --suffix ZZ_MODULE_PATHS ":" "$out/share/zz/modules" 31 38 ''; 32 39