Merge pull request #334635 from pbsds/fix-pagefind-1723642968

This commit is contained in:
Sandro 2024-08-15 11:17:21 +02:00 committed by GitHub
commit 8092d86fc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,7 @@
, rustc
, wasm-bindgen-cli
, wasm-pack
, fetchpatch
}:
let
@ -32,7 +33,15 @@ rustPlatform.buildRustPackage rec {
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 {
name = "npm-deps-web-js";