anchor.diff:      "--enable-jemalloc"
       "--enable-default-toolkit=${default-toolkit}"
       "--with-libclang-path=${llvmPackages.libclang}/lib"
  -    "--with-clang-path=${llvmPackages.clang}/bin/clang"
       "--with-system-nspr"
       "--with-system-nss"
     ]
  -  ++ lib.optional (stdenv.isDarwin) "--disable-xcode-checks"
  +  ++ lib.optional (buildStdenv.isDarwin) "--disable-xcode-checks"
  +  ++ lib.optional (!ltoSupport) "--with-clang-path=${llvmPackages.clang}/bin/clang"
  +  # LTO is done using clang and lld.
  +  # elf-hack is broken when using clang:
  +  # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
  +  ++ lib.optionals ltoSupport [
  +    "--enable-lto"
  +    "--enable-linker=lld"
  +    "--disable-elf-hack"
  +  ]
   
     ++ flag alsaSupport "alsa"
     ++ flag pulseaudioSupport "pulseaudio"
  
positive.code:             then "/Applications/${binaryNameCapitalized}.app/Contents/MacOS"
              else "/bin";
  
  in
  
  stdenv.mkDerivation ({
    name = "${pname}-unwrapped-${ffversion}";
    version = ffversion;
  
  
negative.code: , hunspell, libXdamage, libevent, libstartup_notification
  , libvpx_1_8
  , icu67, libpng, jemalloc, glib
  , autoconf213, which, gnused, cargo, rustc
  , rust-cbindgen, nodejs, nasm, fetchpatch
  , debugBuild ? false
  
  