anchor.diff:      fetchSubmodules = true;
     };
   
  -  nativeBuildInputs = [
  -    autoconf
  -    automake
  -    doxygen
  -    lsb-release
  -    pkgconfig
  -    qttools
  -    swig
  -  ];
  +  nativeBuildInputs =
  +    [ autoconf automake doxygen lsb-release pkgconfig qttools swig ];
     buildInputs = [
       c-ares
       cryptopp
  
positive.code:   '';
  
    configureFlags = [
            "--disable-examples"
            "--disable-java"
            "--disable-php"
            "--enable-chat"
            "--with-cares"
            "--with-cryptopp"
            "--with-curl"
            "--with-ffmpeg"
            "--without-freeimage"  # unreferenced even when found
            "--without-readline"
            "--without-termcap"
            "--with-sodium"
            "--with-sqlite"
            "--with-zlib"
      ];
  
    postConfigure = ''
      cd ../..
  
negative.code: { stdenv, autoconf, automake, c-ares, cryptopp, curl, doxygen, fetchFromGitHub
  , ffmpeg, libmediainfo, libraw, libsodium, libtool, libuv, libzen, lsb-release
  , mkDerivation, pkgconfig, qtbase, qttools, sqlite, swig, unzip, wget }:
  
  mkDerivation rec {
    pname = "megasync";
  