anchor.diff:      "--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";
  +    ++ lib.optional stdenv.hostPlatform.isMusl "--disable-nls"
  +    ++ lib.optional enableDebuginfod "--with-debuginfod=yes";
   
     postInstall =
       '' # Remove Info files already provided by Binutils and other packages.
  
positive.code: 
    buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile sourceHighlight ]
      ++ lib.optional pythonSupport python3
      ++ lib.optional doCheck dejagnu;
  
    propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
  
  
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
  