mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 23:33:30 +00:00
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:
commit
cb48c11742
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user