mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
OVMF: Actually support i686
svn path=/nixpkgs/trunk/; revision=33060
This commit is contained in:
parent
6cf8e4f815
commit
80f47974b7
@ -1,6 +1,17 @@
|
||||
{ stdenv, edk2 }:
|
||||
|
||||
stdenv.mkDerivation (edk2.setup "OvmfPkg/OvmfPkgX64.dsc" {
|
||||
let
|
||||
|
||||
targetArch = if stdenv.isi686 then
|
||||
"Ia32"
|
||||
else if stdenv.isx86_64 then
|
||||
"X64"
|
||||
else
|
||||
throw "Unsupported architecture";
|
||||
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (edk2.setup "OvmfPkg/OvmfPkg${targetArch}.dsc" {
|
||||
name = "OVMF-2012-03-13";
|
||||
|
||||
src = edk2.src;
|
||||
|
Loading…
Reference in New Issue
Block a user