anchor.diff:    boost_python = boost.override { enablePython = true; python = python3; };
   in
   
  +lib.warnIf (enableQT != false) "geant4: enableQT is deprecated, please use enableQt"
  +
   stdenv.mkDerivation rec {
     version = "11.0.0";
     pname = "geant4";
  
positive.code: { enableMultiThreading ? true
  , enableInventor       ? false
  , enableQT             ? false
  , enableXM             ? false
  , enableOpenGLX11      ? true
  , enablePython         ? false
  
negative.code: 
    propagatedBuildInputs = [ clhep expat xercesc zlib libGL ]
      ++ lib.optionals enableXM [ motif ]
      ++ lib.optionals enableQt [ qtbase ];
  
    postFixup = ''
      # Don't try to export invalid environment variables.
      sed -i 's/export G4\([A-Z]*\)DATA/#export G4\1DATA/' "$out"/bin/geant4.sh
    '' + lib.optionalString enableQt ''
      wrapQtAppsHook
    '';
  
  