lol
0
fork

Configure Feed

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

Merge pull request #219880 from jmbaur/coreboot-utils-upgrade

authored by

Sandro and committed by
GitHub
dd5e6ec8 603981cb

+12 -8
+12 -8
pkgs/tools/misc/coreboot-utils/default.nix
··· 1 - { lib, stdenv, fetchurl, zlib, pciutils, coreutils, acpica-tools, makeWrapper, gnugrep, gnused, file, buildEnv }: 1 + { lib, stdenv, fetchurl, pkg-config, zlib, pciutils, openssl, coreutils, acpica-tools, makeWrapper, gnugrep, gnused, file, buildEnv }: 2 2 3 3 let 4 - version = "4.14"; 4 + version = "4.19"; 5 5 6 6 commonMeta = with lib; { 7 7 description = "Various coreboot-related tools"; ··· 16 16 17 17 src = fetchurl { 18 18 url = "https://coreboot.org/releases/coreboot-${version}.tar.xz"; 19 - sha256 = "0viw2x4ckjwiylb92w85k06b0g9pmamjy2yqs7fxfqbmfadkf1yr"; 19 + sha256 = "sha256-Zcyy9GU1uZbgBmobdvgcjPH/PiffhLP5fYrXs+fPCkM="; 20 20 }; 21 21 22 22 enableParallelBuilding = true; ··· 32 32 ]; 33 33 34 34 meta = commonMeta // args.meta; 35 - } // (removeAttrs args ["meta"])); 35 + } // (removeAttrs args [ "meta" ])); 36 36 37 37 utils = { 38 38 msrtool = generic { ··· 84 84 amdfwtool = generic { 85 85 pname = "amdfwtool"; 86 86 meta.description = "Create AMD firmware combination"; 87 + buildInputs = [ openssl ]; 88 + nativeBuildInputs = [ pkg-config ]; 87 89 installPhase = '' 88 90 runHook preInstall 89 91 ··· 105 107 106 108 runHook postInstall 107 109 ''; 108 - postFixup = let 109 - binPath = [ coreutils acpica-tools gnugrep gnused file ]; 110 - in "wrapProgram $out/bin/acpidump-all --set PATH ${lib.makeBinPath binPath}"; 110 + postFixup = '' 111 + wrapProgram $out/bin/acpidump-all \ 112 + --set PATH ${lib.makeBinPath [ coreutils acpica-tools gnugrep gnused file ]} 113 + ''; 111 114 }; 112 115 }; 113 116 114 - in utils // { 117 + in 118 + utils // { 115 119 coreboot-utils = (buildEnv { 116 120 name = "coreboot-utils-${version}"; 117 121 paths = lib.attrValues utils;