efibootmgr: adopt; modernize (#319159)
* efibootmgr: migrate to by-name * efibootmgr: format with nixfmt * efibootmgr: adopt * efibootmgr: modernize
This commit is contained in:
parent
28efe23605
commit
66b060e0e7
@ -1,4 +1,11 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, efivar, popt }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
efivar,
|
||||
popt,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "efibootmgr";
|
||||
@ -13,20 +20,24 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ efivar popt ];
|
||||
buildInputs = [
|
||||
efivar
|
||||
popt
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"EFIDIR=nixos"
|
||||
"PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config"
|
||||
];
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
installFlags = [ "prefix=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager";
|
||||
homepage = "https://github.com/rhboot/efibootmgr";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
changelog = "https://github.com/rhboot/efibootmgr/releases/tag/${src.rev}";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -7672,8 +7672,6 @@ with pkgs;
|
||||
|
||||
emscriptenStdenv = stdenv // { mkDerivation = buildEmscriptenPackage; };
|
||||
|
||||
efibootmgr = callPackage ../tools/system/efibootmgr { };
|
||||
|
||||
efivar = callPackage ../tools/system/efivar { };
|
||||
|
||||
eget = callPackage ../tools/misc/eget { };
|
||||
|
Loading…
Reference in New Issue
Block a user