@@ -8,7 +8,7 @@
88
99stdenv.mkDerivation rec {
1010 pname = "memtest86-efi";
11− version = "8.3";
11+ version = "8.4";
1212
1313 src = fetchzip {
1414 # TODO: We're using the previous version of memtest86 because the
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 # binaries that we make sure to version, then we could probably keep up
2525 # with the latest versions released by the company.
2626 url = "https://www.memtest86.com/downloads/memtest86-${version}-usb.zip";
27− sha256 = "0aldz7rvnfnzb4h447q10k9c9p5ghwzdyn7f6g5lrxiv5vxf3x96";
27+ sha256 = "sha256-jh4FKCYZbOQhRv6B7N8Hmw6RQCQvbBGaGFTMLwM1nk8=";
2828 stripRoot = false;
2929 };
3030
@@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
3535 ];
3636
3737 installPhase = ''
38+ runHook preInstall
39+
3840 # memtest86 is distributed as a bootable USB image. It contains the actual
3941 # memtest86 EFI app.
4042 #
@@ -50,6 +52,8 @@ stdenv.mkDerivation rec {
5052 ')
5153 mkdir $out
5254 mcopy -vsi $IMG@@$ESP_OFFSET ::'/EFI/BOOT/*' $out/
55+
56+ runHook postInstall
5357 '';
5458
5559 meta = with lib; {