anchor.diff:              jsaddlePkgs = import (hackGet ./jsaddle) self;
               gargoylePkgs = self.callPackage (hackGet ./gargoyle) self;
               ghcjsDom = import (hackGet ./ghcjs-dom) self;
  -            addReflexOptimizerFlag = if useReflexOptimizer
  -              then drv: appendConfigureFlag drv "-fuse-reflex-optimizer"
  -              else drv: drv;
  +            addReflexOptimizerFlag = drv: if useReflexOptimizer
  +              then appendConfigureFlag drv "-fuse-reflex-optimizer"
  +              else drv;
           in {
   
           ########################################################################
  
positive.code:       src = "file://${src}";
        sha256 = null;
      });
      addReflexTraceEventsFlag = if enableTraceReflexEvents
        then drv: appendConfigureFlag drv "-fdebug-trace-events"
        else drv: drv;
      addFastWeakFlag = if useFastWeak
        then drv: enableCabalFlag drv "fast-weak"
        else drv: drv;
      ghcjsPkgs = ghcjs: self: super: {
        ghcjs = ghcjs.overrideAttrs (o: {
          patches = (o.patches or [])
  
negative.code: let iosSupport = system != "x86_64-darwin";
      appleLibiconvHack = self: super: {
        darwin = super.darwin // {
          libiconv = super.darwin.libiconv.overrideAttrs (_:
            lib.optionalAttrs (self.hostPlatform != self.buildPlatform) {
              postInstall = "rm $out/include/libcharset.h $out/include/localcharset.h";
              configureFlags = ["--disable-shared" "--enable-static"];
            });
        };
      };
      androidPICPatches = self: super: (optionalAttrs super.targetPlatform.useAndroidPrebuilt {
        haskell = super.haskell // {
          compiler = let
            f = lib.mapAttrs (n: v: v.overrideAttrs (drv:
              optionalAttrs (builtins.elem n ["ghc843" "ghcHEAD"]) {
                patches = (drv.patches or [])
                  ++ [ ./android/patches/force-relocation.patch ];
              }));
          in f super.haskell.compiler // {
            integer-simple = f super.haskell.compiler.integer-simple;
          };
        };
      });
      nixpkgsArgs = {
        config = {
          permittedInsecurePackages = [
  