Merge pull request #198941 from wegank/alfis-aarch64-darwin

alfis: fix build on aarch64-darwin
This commit is contained in:
Robert Scott 2022-11-15 01:17:07 +00:00 committed by GitHub
commit 032b5c19b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
, lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, makeWrapper
, webkitgtk
@ -23,7 +24,15 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-QOKFnre5MW9EvrKrKBHWpOxi2fBKTDMhzCDX3ISd2cQ=";
};
cargoSha256 = "sha256-D+3HIyj1zbs5m8hwLpITS25u/wrRM5GfnwlUUuLX8DQ=";
cargoPatches = [
(fetchpatch {
name = "bump-rust-web-view.patch";
url = "https://github.com/Revertron/Alfis/commit/03b461a740ab6ccbacd576eafc7a3faf4a66648f.patch";
sha256 = "sha256-CSqSMdVD31w7QxxXWtjKmqlaEirmbs1EVuiefSf1NKY=";
})
];
cargoSha256 = "sha256-B4xI++U6RCljXCyaOmNj/SwA6I16zoiZsgk2VTiKfkg=";
checkFlags = [
# these want internet access, disable them