efibootmgr: fetch patch to allow reordering boot entries

+11 -1
+11 -1
pkgs/by-name/ef/efibootmgr/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + fetchpatch2, 5 6 efivar, 6 7 nix-update-script, 7 8 pkg-config, ··· 21 22 src = fetchFromGitHub { 22 23 owner = "rhboot"; 23 24 repo = "efibootmgr"; 24 - rev = finalAttrs.version; 25 + tag = finalAttrs.version; 25 26 hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg="; 26 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 + ]; 27 37 28 38 nativeBuildInputs = [ pkg-config ]; 29 39