edk2: run pre/postInstall hook

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-06-16 09:59:25 +02:00
parent 1198555d31
commit 7ca04a135e
+4
View File
@@ -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;