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