From 504189a0f8cafe10cbc624d7a9dbe3b7a0e0c023 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Sat, 28 Sep 2024 09:43:28 +0800 Subject: [PATCH] emplace: fix build --- pkgs/by-name/em/emplace/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/em/emplace/package.nix b/pkgs/by-name/em/emplace/package.nix index 0d01f308947a..711c4d154a39 100644 --- a/pkgs/by-name/em/emplace/package.nix +++ b/pkgs/by-name/em/emplace/package.nix @@ -1,6 +1,7 @@ { lib, rustPlatform, + fetchpatch, fetchFromGitHub, }: @@ -15,7 +16,14 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-FZ+lvf5HRSruUdmkm/Hqz0aRa95SjfIa43WQczRCGNg="; }; - cargoHash = "sha256-0bKLN0l3ldHJizqWuSoBUxQ8I114BQz6ZTtsro3eYEI="; + cargoPatches = [ + (fetchpatch { + url = "https://github.com/tversteeg/emplace/pull/397/commits/fe32ab280234b1fb1a81a22f78bbc8af188b5fa7.patch"; + hash = "sha256-9O0J9cJlXUGdQ9fqWeW8OIFA48qlYxGl+2yHHt3MaMU="; + }) + ]; + + cargoHash = "sha256-0BYAJOHymBVAssNfU5nPYTSvPbLEDCKoRVovIm6evUQ="; meta = { description = "Mirror installed software on multiple machines";