anchor.diff:  { lib, stdenv, fetchurl, fetchpatch, pkg-config, autoreconfHook, musl-fts
   , musl-obstack, m4, zlib, bzip2, bison, flex, gettext, xz, setupDebugInfoDirs
  -, argp-standalone }:
  +, argp-standalone
  +, enableDebuginfod ? false, sqlite, curl, libmicrohttpd_0_9_70, libarchive
  +}:
   
   # TODO: Look at the hardcoded paths to kernel, modules etc.
   stdenv.mkDerivation rec {
  
positive.code:   configureFlags = [
      "--program-prefix=eu-" # prevent collisions with binutils
      "--enable-deterministic-archives"
      "--disable-libdebuginfod"
      "--disable-debuginfod"
    ];
  
negative.code:   # We need bzip2 in NativeInputs because otherwise we can't unpack the src,
    # as the host-bzip2 will be in the path.
    nativeBuildInputs = [ m4 bison flex gettext bzip2 ]
      ++ lib.optional stdenv.hostPlatform.isMusl [ pkg-config autoreconfHook ]
      ++ lib.optional enableDebuginfod [ pkg-config ];
    buildInputs = [ zlib bzip2 xz ]
      ++ lib.optional stdenv.hostPlatform.isMusl [
      argp-standalone
      musl-fts
      musl-obstack
    ] ++ lib.optionals enableDebuginfod [
      sqlite
      curl
      libmicrohttpd_0_9_70
      libarchive
    ];
  
    propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
  