anchor.diff:  
     buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile sourceHighlight ]
       ++ lib.optional pythonSupport python3
  -    ++ lib.optional doCheck dejagnu;
  +    ++ lib.optional doCheck dejagnu
  +    ++ lib.optional enableDebuginfod (elfutils.override { enableDebuginfod = true; });
   
     propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
   
  
positive.code:     "--with-expat" "--with-libexpat-prefix=${expat.dev}"
      "--with-auto-load-safe-path=${builtins.concatStringsSep ":" safePaths}"
    ] ++ lib.optional (!pythonSupport) "--without-python"
      ++ lib.optional stdenv.hostPlatform.isMusl "--disable-nls";
  
    postInstall =
      '' # Remove Info files already provided by Binutils and other packages.
  
negative.code: , ncurses, readline, gmp, mpfr, expat, libipt, zlib, dejagnu, sourceHighlight
  
  , pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null
  , enableDebuginfod ? false, elfutils
  , guile ? null
  , safePaths ? [
     # $debugdir:$datadir/auto-load are whitelisted by default by GDB
  