mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
OMVF: Only need some of the sources, and symlinks instead of copies are fine
svn path=/nixpkgs/trunk/; revision=33090
This commit is contained in:
parent
003b24ac45
commit
6c99fad938
@ -14,10 +14,12 @@ in
|
||||
stdenv.mkDerivation (edk2.setup "OvmfPkg/OvmfPkg${targetArch}.dsc" {
|
||||
name = "OVMF-2012-03-13";
|
||||
|
||||
src = edk2.src;
|
||||
|
||||
patchPhase = ''
|
||||
rm -fR Conf BaseTools EdkCompatibilityPkg
|
||||
unpackPhase = ''
|
||||
for file in \
|
||||
"${edk2.src}"/{OvmfPkg,UefiCpuPkg,MdeModulePkg,IntelFrameworkModulePkg,PcAtChipsetPkg,FatBinPkg,EdkShellBinPkg,MdePkg,ShellPkg,OptionRomPkg,IntelFrameworkPkg};
|
||||
do
|
||||
ln -sv "$file" .
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -64,7 +64,7 @@ edk2 = stdenv.mkDerivation {
|
||||
build
|
||||
";
|
||||
|
||||
installPhase = "mv -v Build $out";
|
||||
installPhase = "mv -v Build/*/* $out";
|
||||
} // (removeAttrs attrs [ "buildInputs" ] );
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user