diff options
author | (cdep)illabout <cdep.illabout@gmail.com> | 2021-02-23 18:06:19 +0900 |
---|---|---|
committer | (cdep)illabout <cdep.illabout@gmail.com> | 2021-02-23 18:06:19 +0900 |
commit | cdcfa7d8e03d1e2297a196b93d3608e395658012 (patch) | |
tree | 2086be51cd3da9a8d7e275f39cfa6fc75e7976af | |
parent | 62802f0531e4ee176b8c2a6e77f44d77f600fa83 (diff) |
memtest86-efi: add runHook preInstall and postInstall
-rw-r--r-- | pkgs/tools/misc/memtest86-efi/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/memtest86-efi/default.nix b/pkgs/tools/misc/memtest86-efi/default.nix index df7714009183b..125f8f35acca7 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; { |