anchor.diff:    '';
   
     meta = with stdenv.lib; {
  +    version = "0.9.2";
       description = "A graphical {,U}EFI boot manager";
       longDescription = ''
         rEFInd is a graphical boot manager for EFI- and UEFI-based
  
positive.code:       if stdenv.system == "x86_64-linux" then "elf_x86_64_efi.lds"
        else if stdenv.system == "i686-linux" then "elf_ia32_efi.lds" else "null";
      in ''
        make prefix= EFIINC=${gnu-efi}/include/efi EFILIB=${gnu-efi}/lib GNUEFILIB=${gnu-efi}/lib  EFICRT0=${gnu-efi}/lib LDSCRIPT=${gnu-efi}/lib/${ldScript} gnuefi fs_gnuefi
      '';
  
    installPhase = ''
  
negative.code: 
    HOSTARCH =
      if stdenv.system == "x86_64-linux" then "x64"
      else if stdenv.system == "i686-linux" then "ia32"
      else "null";
  
    patchPhase = ''
      sed -e 's|-DEFI_FUNCTION_WRAPPER|-DEFI_FUNCTION_WRAPPER -maccumulate-outgoing-args|g' -i Make.common
  