Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refind: 0.12.0 -> 0.13.0 #113328

Merged
merged 3 commits into from Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view

This file was deleted.

10 changes: 7 additions & 3 deletions pkgs/tools/bootloaders/refind/default.nix
Expand Up @@ -14,17 +14,17 @@ in

stdenv.mkDerivation rec {
pname = "refind";
version = "0.12.0";
version = "0.13.0";
srcName = "refind-src-${version}";
samueldr marked this conversation as resolved.
Show resolved Hide resolved

src = fetchurl {
url = "mirror://sourceforge/project/refind/${version}/${srcName}.tar.gz";
samueldr marked this conversation as resolved.
Show resolved Hide resolved
sha256 = "1i5p3sir3mx4i2q5w78360xn2kbgsj8rmgrqvsvag1zzr5dm1f3v";
sha256 = "0zivlcw1f3zwnrwvbhwq6gg781hh72g2bhc2cxcsb2zmg7q8in65";
};

patches = [
# Removes hardcoded toolchain for aarch64, allowing successful aarch64 builds.
./0001-toolchain.patch
./0001-Fix-GCC-10-compile-problem.patch
];

buildInputs = [ gnu-efi ];
Expand All @@ -44,6 +44,8 @@ stdenv.mkDerivation rec {
buildFlags = [ "gnuefi" "fs_gnuefi" ];

installPhase = ''
runHook preInstall

install -d $out/bin/
install -d $out/share/refind/drivers_${efiPlatform}/
install -d $out/share/refind/tools_${efiPlatform}/
Expand Down Expand Up @@ -102,6 +104,8 @@ stdenv.mkDerivation rec {
sed -i 's,`which \(.*\)`,`type -p \1`,g' $out/bin/refind-install
sed -i 's,`which \(.*\)`,`type -p \1`,g' $out/bin/refind-mvrefind
sed -i 's,`which \(.*\)`,`type -p \1`,g' $out/bin/refind-mkfont

runHook postInstall
'';

meta = with lib; {
Expand Down