anchor.diff:      addExposeAllUnfoldingsFlag = if enableExposeAllUnfoldings
         then drv: appendConfigureFlag drv "-fexpose-all-unfoldings"
         else drv: drv;
  +    # The gi-libraries, by default, will use lots of overloading features of ghc that are still a bit too slow; this function disables them
  +    dontUseOverloads = p: appendConfigureFlag p "-f-overloaded-methods -f-overloaded-signals -f-overloaded-properties";
       extendHaskellPackages = haskellPackages: makeRecursivelyOverridable haskellPackages {
         overrides = self: super:
           let reflexDom = import ./reflex-dom self nixpkgs;
  
positive.code: in let this = rec {
    overrideForGhcjs = haskellPackages: haskellPackages.override {
      overrides = self: super: {
      /*
        mkDerivation = drv: super.mkDerivation.override {
          hscolour = ghc.hscolour;
        } (drv // {
          doHaddock = false;
        });
      */
  
        ghcWithPackages = selectFrom: self.callPackage (nixpkgs.path + "/pkgs/development/haskell-modules/with-packages-wrapper.nix") {
          inherit (self) llvmPackages;
          haskellPackages = self;
  
negative.code:           doCheck = false;
          });
  
          ########################################################################
          # Fixes to be upstreamed
          ########################################################################
          foundation = if system == "i686-linux" then dontCheck super.foundation else super.foundation; # TODO: We should make sure these test failures get fixed
          MonadCatchIO-transformers = doJailbreak super.MonadCatchIO-transformers;
          blaze-builder-enumerator = doJailbreak super.blaze-builder-enumerator;
  
        } // (if enableLibraryProfiling && !(super.ghc.isGhcjs or false) then {
          mkDerivation = expr: super.mkDerivation (expr // { enableLibraryProfiling = true; });
  