Merge pull request #307158 from K900/refind-update

refind: 0.14.0.2 -> 0.14.2, fix build on aarch64
This commit is contained in:
K900 2024-04-27 10:42:34 +03:00 committed by GitHub
commit cb48c11742
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -24,11 +24,11 @@ in
stdenv.mkDerivation rec {
pname = "refind";
version = "0.14.0.2";
version = "0.14.2";
src = fetchurl {
url = "mirror://sourceforge/project/refind/${version}/refind-src-${version}.tar.gz";
hash = "sha256-JqDFXf01ZUmeH4LY/ldGTb7xnKiGzm0BqBUii478iw8=";
hash = "sha256-99k86A2na4bFZygeoiW2qHkHzob/dyM8k1elIsEVyPA=";
};
patches = [
@ -49,6 +49,9 @@ stdenv.mkDerivation rec {
"EFICRT0=${gnu-efi}/lib"
"HOSTARCH=${hostarch}"
"ARCH=${hostarch}"
] ++ lib.optional stdenv.isAarch64 [
# aarch64 is special for GNU-EFI, see BUILDING.txt
"GNUEFI_ARM64_TARGET_SUPPORT=y"
];
buildFlags = [ "gnuefi" "fs_gnuefi" ];