anchor.diff: -{ lib, stdenv, fetchurl, gnu-efi }:
  +{ lib, stdenv, fetchurl, gnu-efi, nixosTests }:
   
   let
     archids = {
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "refind";
    version = "0.13.2";
  
    src = fetchurl {
      url = "mirror://sourceforge/project/refind/${version}/${pname}-src-${version}.tar.gz";
      sha256 = "0w6990ggns4xsdmgj3aq527q15frrxfmxwa3m6igabd4ai498n6x";
    };
  
    patches = [
  
negative.code:     runHook postInstall
    '';
  
    passthru.tests = {
      uefiCdrom = nixosTests.boot.uefiCdrom;
    };
  
    meta = with lib; {
      description = "A graphical {,U}EFI boot manager";
      longDescription = ''
  