root: remove redundant cmake flags

This commit suggests to remove CMake flags that are the same as the
default in ROOT.

Many of these flags were useful in the past, but in the last years the
default built configuration of ROOT was improved and many toggles are
now unnecessary.

Removing the redundant flags makes it clearer what the differences of
the package to the default configuration are, and it's also more
future-proof in case flags get deprecated or removed.

-21
-21
pkgs/applications/science/misc/root/default.nix
··· 151 151 ''; 152 152 153 153 cmakeFlags = [ 154 - "-Drpath=ON" 155 154 "-DCMAKE_INSTALL_BINDIR=bin" 156 155 "-DCMAKE_INSTALL_LIBDIR=lib" 157 156 "-DCMAKE_INSTALL_INCLUDEDIR=include" 158 157 "-Dbuiltin_llvm=OFF" 159 - "-Dbuiltin_freetype=OFF" 160 - "-Dbuiltin_gtest=OFF" 161 - "-Dbuiltin_nlohmannjson=OFF" 162 - "-Dbuiltin_openui5=ON" 163 158 "-Dclad=OFF" 164 - "-Ddavix=ON" 165 - "-Ddcache=OFF" 166 159 "-Dfail-on-missing=ON" 167 - "-Dfftw3=OFF" 168 160 "-Dfitsio=OFF" 169 - "-Dfortran=OFF" 170 161 "-Dgnuinstall=ON" 171 - "-Dimt=ON" 172 - "-Dgviz=OFF" 173 - "-Dhttp=ON" 174 162 "-Dmysql=OFF" 175 - "-Dodbc=OFF" 176 - "-Dopengl=ON" 177 163 "-Dpgsql=OFF" 178 - "-Dpythia8=OFF" 179 - "-Droot7=ON" 180 164 "-Dsqlite=OFF" 181 - "-Dssl=ON" 182 - "-Dtmva=ON" 183 165 "-Dtmva-pymva=OFF" 184 166 "-Dvdt=OFF" 185 - "-Dwebgui=ON" 186 - "-Dxml=ON" 187 - "-Dxrootd=ON" 188 167 ] 189 168 ++ lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${lib.getDev stdenv.cc.libc}/include" 190 169 ++ lib.optionals stdenv.isDarwin [