forked from mirrors/nixpkgs
Microcode for intel processors (put in firmware, and 'modprobe microcode')
svn path=/nixpkgs/trunk/; revision=31957
This commit is contained in:
parent
7c90b6a9bc
commit
4b45a0bfc3
28
pkgs/os-specific/linux/microcode/intel.nix
Normal file
28
pkgs/os-specific/linux/microcode/intel.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "20111110";
|
||||
num = "20728";
|
||||
in stdenv.mkDerivation {
|
||||
name = "microcode-intel-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://downloadmirror.intel.com/${num}/eng/microcode-${version}.tgz";
|
||||
sha256 = "16f532cdf9cce03e01e714619ad9406a465aa965bbd1288035398db79921cbc1";
|
||||
};
|
||||
|
||||
# setSourceRoot = ''
|
||||
# sourceRoot=.
|
||||
# '';
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
ensureDir $out
|
||||
cp microcode.dat "$out/"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.intel.com;
|
||||
description = "Microcode for Intel processors";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue