Skip to content

Commit b12a306

Browse files
committed
tectonic-unwrapped, tectonic: fix build
Add patch bumping the `time` crate, fix build with rust 1.80.
1 parent c3392ad commit b12a306

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pkgs/tools/typesetting/tectonic/default.nix

+10-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
, openssl
1717
, pkg-config
1818
, icu
19+
, fetchpatch2
1920
}:
2021

2122
rustPlatform.buildRustPackage rec {
@@ -29,7 +30,15 @@ rustPlatform.buildRustPackage rec {
2930
sha256 = "sha256-xZHYiaQ8ASUwu0ieHIXcjRaH06SQoB6OR1y7Ok+FjAs=";
3031
};
3132

32-
cargoHash = "sha256-niMgb4zsTWHw5yaa4kJOZzpOzO5gMG4k3cTHwSV+wmY=";
33+
cargoPatches = [
34+
# fix build with rust 1.80
35+
(fetchpatch2 {
36+
url = "https://github.com/tectonic-typesetting/tectonic/commit/6b49ca8db40aaca29cb375ce75add3e575558375.patch";
37+
hash = "sha256-i1L3XaSuBbsmgOSXIWVqr6EHlHGs8A+6v06kJ3C50sk=";
38+
})
39+
];
40+
41+
cargoHash = "sha256-Zn+xU6NJOY+jDYrSGsbYGAVqprQ6teEdNvlTNDXuzKs=";
3342

3443
nativeBuildInputs = [ pkg-config ];
3544

0 commit comments

Comments
 (0)