zet: fix build (#336435)

authored by Aleksana and committed by GitHub 9685d9f2 d52e3211

+10
+10
pkgs/tools/text/zet/default.nix
··· 1 1 { lib 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 + , fetchpatch2 4 5 }: 5 6 6 7 rustPlatform.buildRustPackage rec { ··· 13 14 rev = "v${version}"; 14 15 hash = "sha256-IjM+jSb+kdML0zZGuz9+9wrFzQCujn/bg9/vaTzMtUs="; 15 16 }; 17 + 18 + patches = [ 19 + # fix unused_qualifications lint with rust 1.78+ 20 + # https://github.com/yarrow/zet/commit/b6a0c67f6ac76fb7bf8234951678b77fbac12d76 21 + (fetchpatch2 { 22 + url = "https://github.com/yarrow/zet/commit/b6a0c67f6ac76fb7bf8234951678b77fbac12d76.patch?full_index=1"; 23 + hash = "sha256-HojhKM7UJh5xpD9a18Wh0hiiUDOE+jK0BKGYozYjMBc="; 24 + }) 25 + ]; 16 26 17 27 cargoHash = "sha256-kHIOsSR7ZxBzp4dtm2hbi8ddtlQ86x5EASk5HFmnhFo="; 18 28