anchor.diff:    ++ lib.optional textStylingSupport gettext
     ++ lib.optional (!isCross) dejagnu;
   
  -  configureFlags = lib.optionals guiSupport [
  +  configureFlags = [
  +    "--datadir=${placeholder "lib"}/share"
  +  ] ++ lib.optionals guiSupport [
       "--with-tcl=${tcl}/lib"
       "--with-tk=${tk}/lib"
       "--with-tkinclude=${tk.dev}/include"
  
positive.code:   isCross = stdenv.hostPlatform != stdenv.buildPlatform;
  in stdenv.mkDerivation rec {
    pname = "poke";
    version = "1.3";
  
    src = fetchurl {
      url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
      hash = "sha256-unhjA0obCABLDuj4i9qUFgcH6aeB1VVvVVtQdYPPDxs=";
    };
  
    postPatch = ''
      patchShebangs .
  
negative.code: 
    doCheck = !isCross;
    checkInputs = lib.optionals (!isCross) [ dejagnu ];
  
    postInstall = ''
      moveToOutput share/emacs "$out"
    '';
  
    meta = with lib; {
      description = "Interactive, extensible editor for binary data";
  