diff options
author | Arie Middelkoop <amiddelk@gmail.com> | 2012-02-01 22:05:21 +0000 |
---|---|---|
committer | Arie Middelkoop <amiddelk@gmail.com> | 2012-02-01 22:05:21 +0000 |
commit | 4b45a0bfc395451bcaafebeae2eeba1d5a2235a3 (patch) | |
tree | c34a18fc41add9e89727433764388b6fc7eb5e5a /pkgs/os-specific/linux/microcode | |
parent | 7c90b6a9bc5311a4184e2b0e19f9fea997a75aed (diff) | |
download | nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.tar nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.tar.gz nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.tar.bz2 nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.tar.lz nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.tar.xz nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.tar.zst nixlib-4b45a0bfc395451bcaafebeae2eeba1d5a2235a3.zip |
Microcode for intel processors (put in firmware, and 'modprobe microcode')
svn path=/nixpkgs/trunk/; revision=31957
Diffstat (limited to 'pkgs/os-specific/linux/microcode')
-rw-r--r-- | pkgs/os-specific/linux/microcode/intel.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/microcode/intel.nix b/pkgs/os-specific/linux/microcode/intel.nix new file mode 100644 index 000000000000..3294c90cb3a0 --- /dev/null +++ b/pkgs/os-specific/linux/microcode/intel.nix @@ -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"; + }; +} \ No newline at end of file |