Merge pull request #24997 from romildo/upd.efibootmgr
efibootmgr: 13 -> 15
This commit is contained in:
commit
5ef193446e
@ -1,26 +1,29 @@
|
|||||||
{ stdenv, fetchFromGitHub, perl, efivar, pciutils, zlib, popt }:
|
{ stdenv, fetchFromGitHub, pkgconfig, efivar, popt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "efibootmgr-${version}";
|
name = "efibootmgr-${version}";
|
||||||
version = "13";
|
version = "15";
|
||||||
|
|
||||||
buildInputs = [ perl efivar pciutils zlib popt ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = [ efivar popt ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rhinstaller";
|
owner = "rhinstaller";
|
||||||
repo = "efibootmgr";
|
repo = "efibootmgr";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1kwmvx111c3a5783kx3az76mkhpr1nsdx0yv09gp4k0hgzqlqj96";
|
sha256 = "0z7h1dirp8za6lbbf4f3dzn7l1px891rdymhkbqc10yj6gi1jpqp";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${efivar}/include/efivar";
|
NIX_CFLAGS_COMPILE = "-I${efivar}/include/efivar";
|
||||||
NIX_LDFLAGS = "-lefiboot -lefivar -lpopt";
|
|
||||||
|
makeFlags = [ "EFIDIR=nixos" ];
|
||||||
|
|
||||||
installFlags = [ "prefix=$(out)" ];
|
installFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
|
description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
|
||||||
homepage = http://linux.dell.com/efibootmgr/;
|
homepage = https://github.com/rhinstaller/efibootmgr;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user