anchor.diff:  { lib, stdenv
   , fetchurl
  +, buildPackages
   , pkg-config
   , glib
   , gpm
  
positive.code: 
    enableParallelBuilding = true;
  
    configureFlags = [ "PERL=${perl}/bin/perl" ];
  
    postPatch = ''
      substituteInPlace src/filemanager/ext.c \
  
negative.code:     sha256 = "sha256-6ZTZvppxcumsSkrWIQeSH2qjEuZosFbf5bi867r1OAM=";
    };
  
    patches = [
      # Add support for PERL_FOR_BUILD to fix cross-compilation:
      #   https://midnight-commander.org/ticket/4399
      (fetchurl {
        url = "https://midnight-commander.org/raw-attachment/ticket/4399/0001-configure.ac-introduce-PERL_FOR_BUILD.patch";
        hash = "sha256-i4cbg/pner+yPfgmP04DEIvpNDlM9YDca1TNBdhWhwI=";
      })
    ];
  
    nativeBuildInputs = [ pkg-config autoreconfHook unzip ]
      # The preFixup hook rewrites the binary, which invaliates the code
      # signature. Add the fixup hook to sign the output.
  