anchor.diff:      texinfo
     ] ++ lib.optional guiSupport makeWrapper;
   
  -  buildInputs = [ boehmgc dejagnu readline ]
  +  buildInputs = [ boehmgc readline ]
     ++ lib.optional guiSupport tk
     ++ lib.optional miSupport json_c
     ++ lib.optional nbdSupport libnbd
  -  ++ lib.optional textStylingSupport gettext;
  +  ++ lib.optional textStylingSupport gettext
  +  ++ lib.optional (!isCross) dejagnu;
   
     configureFlags = lib.optionals guiSupport [
       "--with-tcl=${tcl}/lib"
  
positive.code: 
    enableParallelBuilding = true;
  
    doCheck = true;
    checkInputs = [ dejagnu ];
  
    postFixup = lib.optionalString guiSupport ''
      wrapProgram "$out/bin/poke-gui" \
  
negative.code: , dejagnu
  }:
  
  let
    isCross = stdenv.hostPlatform != stdenv.buildPlatform;
  in stdenv.mkDerivation rec {
    pname = "poke";
    version = "1.0";
  
  