silicon: fix build on aarch64-linux

This commit is contained in:
0x4A6F 2023-05-09 22:04:53 +02:00
parent 897876e4c4
commit c0f48d3668
No known key found for this signature in database
GPG Key ID: 8DEDBA5BE07080E1

View File

@ -2,6 +2,7 @@
, stdenv
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, cmake
, llvmPackages
@ -29,6 +30,14 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-RuzaRJr1n21MbHSeHBt8CjEm5AwbDbvX9Nw5PeBTl+w=";
};
patches = [
# fix build on aarch64-linux, see https://github.com/Aloxaf/silicon/pull/210
(fetchpatch {
url = "https://github.com/Aloxaf/silicon/commit/f666c95d3dab85a81d60067e2f25d29ee8ab59e7.patch";
hash = "sha256-L6tF9ndC38yVn5ZNof1TMxSImmaqZ6bJ/NYhb0Ebji4=";
})
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {