From cdcfa7d8e03d1e2297a196b93d3608e395658012 Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Tue, 23 Feb 2021 18:06:19 +0900 Subject: [PATCH] memtest86-efi: add runHook preInstall and postInstall --- pkgs/tools/misc/memtest86-efi/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/misc/memtest86-efi/default.nix b/pkgs/tools/misc/memtest86-efi/default.nix index df7714009183..125f8f35acca 100644 --- a/pkgs/tools/misc/memtest86-efi/default.nix +++ b/pkgs/tools/misc/memtest86-efi/default.nix @@ -35,6 +35,8 @@ stdenv.mkDerivation rec { ]; installPhase = '' + runHook preInstall + # memtest86 is distributed as a bootable USB image. It contains the actual # memtest86 EFI app. # @@ -50,6 +52,8 @@ stdenv.mkDerivation rec { ') mkdir $out mcopy -vsi $IMG@@$ESP_OFFSET ::'/EFI/BOOT/*' $out/ + + runHook postInstall ''; meta = with lib; {