anchor.diff:      "--enable-plugins"
       "--enable-pnic"
       "--enable-sb16"
  -  ] ++ lib.optionals enableX11 [
  -    "--with-x"
  -    "--with-x11"
  -  ] ++ lib.optionals enableSdl2 [
  -    "--with-sdl2"
  -  ] ++ lib.optionals enableTerm [
  -    "--with-term"
  -  ] ++ lib.optionals enableWx [
  -    "--with-wx"
     ];
   
     enableParallelBuilding = true;
  
positive.code:     curl
      readline
      wget
    ] ++ lib.optionals stdenv.isDarwin [
      libobjc
    ] ++ lib.optionals enableX11 [
      libGL
      libGLU
      libX11
      libXpm
    ] ++ lib.optionals enableSdl2 [
      SDL2
    ] ++ lib.optionals enableTerm [
      ncurses
    ] ++ lib.optionals enableWx [
      wxGTK
      gtk3
    ];
  
    configureFlags = [
  
negative.code: { lib
  , stdenv
  , fetchurl
  , SDL2
  , curl
  , docbook_xml_dtd_45
  , docbook_xsl
  , gtk3
  , libGL
  , libGLU
  , libX11
  , libXpm
  , libobjc
  , libtool
  , ncurses
  , pkg-config
  , readline
  , wget
  , wxGTK
  , enableSDL2 ? true
  , enableTerm ? true
  , enableWx ? !stdenv.isDarwin
  , enableX11 ? !stdenv.isDarwin
  }:
  
  stdenv.mkDerivation (finalAttrs: {
  