anchor.diff:  
   stdenv.mkDerivation rec {
   
  -  name = "refind-${version}";
  -  srcName = "refind-src-${version}";
  -  version = "0.9.2";
  +  name = "refind-${meta.version}";
  +  srcName = "refind-src-${meta.version}";
   
     src = fetchurl {
  -    url = "http://downloads.sourceforge.net/project/refind/${version}/${srcName}.zip";
  +    url = "http://downloads.sourceforge.net/project/refind/${meta.version}/${srcName}.zip";
       sha256 = "0ai150rzx20sfl92j6y1p6qnyy0wbmazrlp2fg19acs98qyxl8lh";
     };
   
  
positive.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
  
negative.code:   '';
  
    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
  