tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
zet: fix build (#336435)
authored by
Aleksana
and committed by
GitHub
1 year ago
9685d9f2
d52e3211
+10
1 changed file
expand all
collapse all
unified
split
pkgs
tools
text
zet
default.nix
+10
pkgs/tools/text/zet/default.nix
···
1
{ lib
2
, rustPlatform
3
, fetchFromGitHub
0
4
}:
5
6
rustPlatform.buildRustPackage rec {
···
13
rev = "v${version}";
14
hash = "sha256-IjM+jSb+kdML0zZGuz9+9wrFzQCujn/bg9/vaTzMtUs=";
15
};
0
0
0
0
0
0
0
0
0
16
17
cargoHash = "sha256-kHIOsSR7ZxBzp4dtm2hbi8ddtlQ86x5EASk5HFmnhFo=";
18
···
1
{ lib
2
, rustPlatform
3
, fetchFromGitHub
4
+
, fetchpatch2
5
}:
6
7
rustPlatform.buildRustPackage rec {
···
14
rev = "v${version}";
15
hash = "sha256-IjM+jSb+kdML0zZGuz9+9wrFzQCujn/bg9/vaTzMtUs=";
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
+
];
26
27
cargoHash = "sha256-kHIOsSR7ZxBzp4dtm2hbi8ddtlQ86x5EASk5HFmnhFo=";
28