edk2: run pre/postInstall hook
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
@@ -120,6 +120,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -vp $out
|
||||
mv -v BaseTools $out
|
||||
mv -v edksetup.sh $out
|
||||
@@ -128,6 +130,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
chmod +x "$i"
|
||||
patchShebangs --build "$i"
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
Reference in New Issue
Block a user