mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
rEFInd: 0.4.5
This commit is contained in:
parent
af045b4ee1
commit
026dd8b6f2
@ -1,22 +1,22 @@
|
||||
{ stdenv, fetchurl, gnu_efi, unzip }:
|
||||
|
||||
let version = "0.2.3"; in
|
||||
let version = "0.4.5"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "refind-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/refind/refind-src-${version}.zip";
|
||||
sha256 = "0q3p4mczr6wchk4vbgsb0cq7829vk3b3kg9qaizrb02pdak3s2nf";
|
||||
sha256 = "05nbalsl5csgph0v2amzgay9k2vzm47z8n1n6blbh9hvb7j5vn2c";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
buildFlags = [ "prefix=" "EFIINC=${gnu_efi}/include/efi" "GNUEFILIB=${gnu_efi}/lib" "EFILIB=${gnu_efi}/lib" "EFICRT0=${gnu_efi}/lib" ];
|
||||
buildFlags = [ "prefix=" "EFIINC=${gnu_efi}/include/efi" "GNUEFILIB=${gnu_efi}/lib" "EFILIB=${gnu_efi}/lib" "EFICRT0=${gnu_efi}/lib" "LOCAL_CFLAGS=-I${gnu_efi}/include" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out
|
||||
install -v -m644 refind/refind.efi refind.conf-sample $out
|
||||
install -v -m644 refind/refind*.efi refind.conf-sample $out
|
||||
mv -v icons $out
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user