git.iko.soy/typeable/nixpkgs
on master help sign in
memtest86-efi: add runHook preInstall and postInstall
commitcdcfa7d8e03d1e2297a196b93d3608e395658012 author(cdep)illabout <cdep.illabout@gmail.com> dateTue 23 Feb 2021, 18:06 (6 years ago) parent62802f0
1 file changed+4
pkgs/tools/misc/memtest86-efi/default.nix+4
pkgs/tools/misc/memtest86-efi/default.nix+4
@@ -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; {