os-specific/linux/microcode/converter.nix: update download location for intel-microcode2ucode.c

This commit is contained in:
Peter Simons 2013-06-03 10:15:34 +02:00
parent 96b193a7b1
commit 34a4d5f3f0
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "microcode2ucode-20120205";
src = fetchurl {
url = "sources.gentoo.org/sys-apps/microcode-data/files/intel-microcode2ucode.c";
url = "http://pkgs.fedoraproject.org/repo/pkgs/microcode_ctl/intel-microcode2ucode.c/0efc5f6c74a4d7e61ca22683c93c98cf/intel-microcode2ucode.c";
sha256 = "c51b1b1d8b4b28e7d5d007917c1e444af1a2ff04a9408aa9067c0e57d70164de";
};
@ -16,7 +16,7 @@ stdenv.mkDerivation {
buildPhase = ''
gcc -Wall -O2 $src -o intel-microcode2ucode
'';
installPhase = ''
ensureDir "$out/bin"
cp intel-microcode2ucode "$out/bin/"