anchor.diff:        tolerance.
       '';
   
  -    platforms = stdenv.lib.platforms.linux;
  +    platforms = platforms.unix;
       # Note: Maintainer of prev. erlang version was simons. If he wants
       # to continue maintaining erlang I'm totally ok with that.
  -    maintainers = [ stdenv.lib.maintainers.the-kenny ];
  +    maintainers = [ maintainers.the-kenny ];
     };
   }
  
positive.code: , wxSupport ? false, mesa ? null, wxGTK ? null, xlibs ? null }:
  
  assert wxSupport -> mesa != null && wxGTK != null && xlibs != null;
  
  stdenv.mkDerivation rec {
    name = "erlang-" + version;
  
negative.code: 
    buildInputs =
      [ perl gnum4 ncurses openssl makeWrapper
      ] ++ optional wxSupport [ mesa wxGTK xlibs.libX11 ];
  
    patchPhase = '' sed -i "s@/bin/rm@rm@" lib/odbc/configure erts/configure '';
  
  