Skip to content

Commit

Permalink
Merge pull request #334635 from pbsds/fix-pagefind-1723642968
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Aug 15, 2024
2 parents 04331f0 + 5bda388 commit 8092d86
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/applications/misc/pagefind/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
, rustc
, wasm-bindgen-cli
, wasm-pack
, fetchpatch
}:

let
Expand All @@ -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";
Expand Down

0 comments on commit 8092d86

Please sign in to comment.