efibootmgr: grab upstream commit as patch to fix w/efivar 37
(removes workaround for previous versions)
This commit is contained in:
parent
cc65a12098
commit
c761524f30
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, efivar, popt }:
|
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, efivar, popt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "efibootmgr-${version}";
|
name = "efibootmgr-${version}";
|
||||||
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1niicijxg59rsmiw3rsjwy4bvi1n42dynvm01lnp9haixdzdpq03";
|
sha256 = "1niicijxg59rsmiw3rsjwy4bvi1n42dynvm01lnp9haixdzdpq03";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "remove-extra-decl.patch";
|
||||||
|
url = "https://github.com/rhboot/efibootmgr/commit/99b578501643377e0b1994b2a068b790d189d5ad.patch";
|
||||||
|
sha256 = "1sbijvlpv4khkix3vix9mbhzffj8lp8zpnbxm9gnzjz8yssz9p5h";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
makeFlags = [ "EFIDIR=nixos" ];
|
makeFlags = [ "EFIDIR=nixos" ];
|
||||||
|
|
||||||
installFlags = [ "prefix=$(out)" ];
|
installFlags = [ "prefix=$(out)" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user