pagefind: update time crate, unbreak

This commit is contained in:
Peder Bergebakken Sundt 2024-08-14 16:18:05 +02:00
parent 7bf351fe7e
commit 5bda388409

View File

@ -9,6 +9,7 @@
, rustc , rustc
, wasm-bindgen-cli , wasm-bindgen-cli
, wasm-pack , wasm-pack
, fetchpatch
}: }:
let let
@ -32,7 +33,15 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-pcgcu9zylSTjj5rxNff+afFBWVpN5sGtlpadG1wb93M="; hash = "sha256-pcgcu9zylSTjj5rxNff+afFBWVpN5sGtlpadG1wb93M=";
}; };
cargoHash = "sha256-E4gjG5GrVWkMKgjQiAvEiSy2/tx/yHKe+5isveMZ9tU="; cargoPatches = [
(fetchpatch { # https://github.com/CloudCannon/pagefind/pull/680
name = "cargo-update-time.patch";
url = "https://github.com/CloudCannon/pagefind/commit/e6778572d225316803180db822f5cc12a936acd2.patch";
hash = "sha256-XHpHA1hPIe+wjDQ6LE9hn2jn3eMBOK9Yoo920jfH9do=";
})
];
cargoHash = "sha256-KWWln7QCRo02cOgHy5JNERGS0CvvgsPISwkTZeeNEkg=";
env.npmDeps_web_js = fetchNpmDeps { env.npmDeps_web_js = fetchNpmDeps {
name = "npm-deps-web-js"; name = "npm-deps-web-js";