lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #198789 from anthonyroussel/efibootmgr_18

authored by

Sandro and committed by
GitHub
a08e39f9 883420d9

+16 -53
+11 -16
pkgs/tools/system/efibootmgr/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, efivar, popt }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, efivar, popt }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "efibootmgr"; 5 - version = "17"; 6 - 7 - nativeBuildInputs = [ pkg-config ]; 8 - 9 - buildInputs = [ efivar popt ]; 5 + version = "18"; 10 6 11 7 src = fetchFromGitHub { 12 8 owner = "rhboot"; 13 9 repo = "efibootmgr"; 14 10 rev = version; 15 - sha256 = "1niicijxg59rsmiw3rsjwy4bvi1n42dynvm01lnp9haixdzdpq03"; 11 + hash = "sha256-DYYQGALEn2+mRHgqCJsA7OQCF7xirIgQlWexZ9uoKcg="; 16 12 }; 17 13 18 - patches = [ 19 - (fetchpatch { 20 - name = "remove-extra-decl.patch"; 21 - url = "https://github.com/rhboot/efibootmgr/commit/99b578501643377e0b1994b2a068b790d189d5ad.patch"; 22 - sha256 = "1sbijvlpv4khkix3vix9mbhzffj8lp8zpnbxm9gnzjz8yssz9p5h"; 23 - }) 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ efivar popt ]; 17 + 18 + makeFlags = [ 19 + "EFIDIR=nixos" 20 + "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config" 24 21 ]; 25 - 26 - makeFlags = [ "EFIDIR=nixos" "PKG_CONFIG=${stdenv.cc.targetPrefix}pkg-config" ]; 27 22 28 23 installFlags = [ "prefix=$(out)" ]; 29 24 30 25 meta = with lib; { 31 26 description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"; 32 27 homepage = "https://github.com/rhboot/efibootmgr"; 33 - license = licenses.gpl2; 28 + license = licenses.gpl2Only; 34 29 maintainers = with maintainers; [ ]; 35 30 platforms = platforms.linux; 36 31 };
+5 -37
pkgs/tools/system/efivar/default.nix
··· 1 - { lib, stdenv, buildPackages, fetchFromGitHub, fetchurl, pkg-config, popt }: 1 + { lib, stdenv, buildPackages, fetchFromGitHub, pkg-config, popt, mandoc }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "efivar"; 5 - version = "37"; 5 + version = "38"; 6 6 7 7 outputs = [ "bin" "out" "dev" "man" ]; 8 8 ··· 10 10 owner = "rhinstaller"; 11 11 repo = "efivar"; 12 12 rev = version; 13 - sha256 = "1z2dw5x74wgvqgd8jvibfff0qhwkc53kxg54v12pzymyibagwf09"; 13 + hash = "sha256-A38BKGMK3Vo+85wzgxmzTjzZXtpcY9OpbZaONWnMYNk="; 14 14 }; 15 - patches = [ 16 - (fetchurl { 17 - name = "r13y.patch"; 18 - url = "https://patch-diff.githubusercontent.com/raw/rhboot/efivar/pull/133.patch"; 19 - sha256 = "038cwldb8sqnal5l6mhys92cqv8x7j8rgsl8i4fiv9ih9znw26i6"; 20 - }) 21 - (fetchurl { 22 - name = "fix-misaligned-pointer.patch"; 23 - url = "https://github.com/rhboot/efivar/commit/b98ba8921010d03f46704a476c69861515deb1ca.patch"; 24 - sha256 = "0ni9mz7y40a2wf1d1q5n9y5dhcbydxvfdhqic7zsmgnaxs3a0p27"; 25 - }) 26 - (fetchurl { 27 - name = "fix-gcc9-error.patch"; 28 - url = "https://github.com/rhboot/efivar/commit/c3c553db85ff10890209d0fe48fb4856ad68e4e0.patch"; 29 - sha256 = "0lc38npydp069nlcga25wzzm204ww9l6mpjfn6wmhdfhn0pgjwky"; 30 - }) 31 - (fetchurl { 32 - name = "remove_unused_variable.patch"; 33 - url = "https://github.com/rhboot/efivar/commit/fdb803402fb32fa6d020bac57a40c7efe4aabb7d.patch"; 34 - sha256 = "1xhy8v8ff9lyxb830n9hci2fbh7rfps6rwsqrjh4lw7316gwllsd"; 35 - }) 36 - (fetchurl { 37 - name = "check_string_termination.patch"; 38 - url = "https://github.com/rhboot/efivar/commit/4e04afc2df9bbc26e5ab524b53a6f4f1e61d7c9e.patch"; 39 - sha256 = "1ajj11wwsvamfspq4naanvw08h63gr0g71q0dfbrrywrhc0jlmdw"; 40 - }) 41 - ]; 42 15 43 - NIX_CFLAGS_COMPILE = [ 44 - "-Wno-error=stringop-truncation" 45 - "-flto-partition=none" 46 - ]; 47 - 48 - nativeBuildInputs = [ pkg-config ]; 16 + nativeBuildInputs = [ pkg-config mandoc ]; 49 17 buildInputs = [ popt ]; 50 18 depsBuildBuild = [ buildPackages.stdenv.cc ]; 51 19 ··· 62 30 inherit (src.meta) homepage; 63 31 description = "Tools and library to manipulate EFI variables"; 64 32 platforms = platforms.linux; 65 - license = licenses.lgpl21; 33 + license = licenses.lgpl21Only; 66 34 }; 67 35 }