mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
msrtool: Make the tool available only on x86 Linux
On Linux this tool reads Model Specific Registers (MSRs) from /dev/cpu/<cpu_num>/msr, a device implemented exclusively for x86 instruction set CPUs. It doesn't make sense to offer it on other platforms.
This commit is contained in:
parent
6428fc1a54
commit
c177c9adae
@ -38,6 +38,7 @@ let
|
||||
msrtool = generic {
|
||||
pname = "msrtool";
|
||||
meta.description = "Dump chipset-specific MSR registers";
|
||||
meta.platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
buildInputs = [ pciutils zlib ];
|
||||
preConfigure = "export INSTALL=install";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user