forked from mirrors/nixpkgs
rEFInd: 0.4.5
This commit is contained in:
parent
af045b4ee1
commit
026dd8b6f2
|
@ -1,22 +1,22 @@
|
||||||
{ stdenv, fetchurl, gnu_efi, unzip }:
|
{ stdenv, fetchurl, gnu_efi, unzip }:
|
||||||
|
|
||||||
let version = "0.2.3"; in
|
let version = "0.4.5"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "refind-${version}";
|
name = "refind-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/refind/refind-src-${version}.zip";
|
url = "mirror://sourceforge/refind/refind-src-${version}.zip";
|
||||||
sha256 = "0q3p4mczr6wchk4vbgsb0cq7829vk3b3kg9qaizrb02pdak3s2nf";
|
sha256 = "05nbalsl5csgph0v2amzgay9k2vzm47z8n1n6blbh9hvb7j5vn2c";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
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 = ''
|
installPhase = ''
|
||||||
mkdir -pv $out
|
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
|
mv -v icons $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue