anchor.diff:    ];
   
     nativeBuildInputs = [ cmake pkg-config makeWrapper git ];
  -  buildInputs = [ curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK
  +  buildInputs = [ curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK30-gtk3
       glib cppunit fontconfig freetype ftgl glew libogg libvorbis libGLU ];
   
     cmakeFlags = [
  -    "-DCMAKE_INSTALL_PREFIX=$out"
  +    "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}"
       "-DBUILD_MEGAGLEST=On"
       "-DBUILD_MEGAGLEST_MAP_EDITOR=On"
       "-DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=On"
  
positive.code:     name = "megaglest-lib-env";
      paths = [ SDL2 xorg.libSM xorg.libICE xorg.libX11 xorg.libXext
        xercesc openal libvorbis lua libjpeg libpng curl fontconfig ftgl freetype
        stdenv.cc.cc glew libGLU wxGTK ];
    };
    path-env = buildEnv {
      name = "megaglest-path-env";
  
negative.code: { lib, stdenv, cmake, pkg-config, git, curl, SDL2, xercesc, openal, lua, libvlc
  , libjpeg, wxGTK30-gtk3, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng
  , fontconfig, freetype, xorg, makeWrapper, bash, which, gnome, libGLU, glib
  , fetchFromGitHub, fetchpatch
  }:
  