anchor.diff:      })
     ];
   
  +  configurePlatforms = [ "host" "target" ];
  +
     preConfigure = ''
       export CXXFLAGS="-fpermissive"
       export LIBXUL_DIST=$out
  -    export PYTHON="${python2.interpreter}"
  +    export PYTHON="${buildPackages.python2.interpreter}"
       configureFlagsArray+=("--includedir=$dev/include")
   
       cd js/src
  
positive.code:   setOutputFlags = false; # Configure script only understands --includedir
  
    buildInputs = [ readline icu zlib nspr ];
    nativeBuildInputs = [ autoconf213 pkgconfig perl which python2 zip ];
  
    # Apparently this package fails to build correctly with modern compilers, which at least
    # on ARMv6 causes polkit testsuite to break with an assertion failure in spidermonkey.
  
negative.code: { stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, zip, which, readline, icu, zlib, nspr, buildPackages }:
  
  let
    version = "52.9.0";
  