efibootmgr: fetch patch to allow reordering boot entries

+11 -1
+11 -1
pkgs/by-name/ef/efibootmgr/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 efivar, 6 nix-update-script, 7 pkg-config, ··· 21 src = fetchFromGitHub { 22 owner = "rhboot"; 23 repo = "efibootmgr"; 24 - rev = finalAttrs.version; 25 hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg="; 26 }; 27 28 nativeBuildInputs = [ pkg-config ]; 29
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + fetchpatch2, 6 efivar, 7 nix-update-script, 8 pkg-config, ··· 22 src = fetchFromGitHub { 23 owner = "rhboot"; 24 repo = "efibootmgr"; 25 + tag = finalAttrs.version; 26 hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg="; 27 }; 28 + 29 + patches = [ 30 + (fetchpatch2 { 31 + # https://github.com/rhboot/efibootmgr/issues/186 32 + name = "efibootmgr_fix-editing-nonfinal-entry.patch"; 33 + url = "https://github.com/rhboot/efibootmgr/commit/3eac27c5fccf93d2d6e634d6fe2a76d06708ec6e.diff?full_index=1"; 34 + hash = "sha256-zXkmfW+BYv8jc/dibu0LEni06KyydVjfW/Lug0i+jUw="; 35 + }) 36 + ]; 37 38 nativeBuildInputs = [ pkg-config ]; 39