Merge pull request #234295 from yu-re-ka/coreboot-utils-aarch64

coreboot-utils: support subset on aarch64-linux

authored by

Weijia Wang and committed by
GitHub
34bd1845 9fdb5f98

+4 -3
+4 -3
pkgs/tools/misc/coreboot-utils/default.nix
··· 54 54 intelmetool = generic { 55 55 pname = "intelmetool"; 56 56 meta.description = "Dump interesting things about Management Engine"; 57 - buildInputs = [ pciutils zlib ]; 58 57 meta.platforms = [ "x86_64-linux" "i686-linux" ]; 58 + buildInputs = [ pciutils zlib ]; 59 59 }; 60 60 cbfstool = generic { 61 61 pname = "cbfstool"; ··· 68 68 superiotool = generic { 69 69 pname = "superiotool"; 70 70 meta.description = "User-space utility to detect Super I/O of a mainboard and provide detailed information about the register contents of the Super I/O"; 71 + meta.platforms = [ "x86_64-linux" "i686-linux" ]; 71 72 buildInputs = [ pciutils zlib ]; 72 73 }; 73 74 ectool = generic { ··· 79 80 inteltool = generic { 80 81 pname = "inteltool"; 81 82 meta.description = "Provides information about Intel CPU/chipset hardware configuration (register contents, MSRs, etc)"; 82 - buildInputs = [ pciutils zlib ]; 83 83 meta.platforms = [ "x86_64-linux" "i686-linux" ]; 84 + buildInputs = [ pciutils zlib ]; 84 85 }; 85 86 amdfwtool = generic { 86 87 pname = "amdfwtool"; ··· 119 120 utils // { 120 121 coreboot-utils = (buildEnv { 121 122 name = "coreboot-utils-${version}"; 122 - paths = lib.attrValues utils; 123 + paths = lib.filter (lib.meta.availableOn stdenv.hostPlatform) (lib.attrValues utils); 123 124 postBuild = "rm -rf $out/sbin"; 124 125 }) // { 125 126 inherit version;