emplace: fix build

This commit is contained in:
wxt 2024-09-28 09:43:28 +08:00
parent 0be1e6623c
commit 504189a0f8
No known key found for this signature in database
GPG Key ID: 8281D5EE2D1825A4

View File

@ -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";