anchor.diff:      description = "Parallel Mupen64plus rewrite for libretro.";
       license = gpl2;
       extraBuildInputs = [ libGLU libGL libpng ];
  -  }).override {
  -    makefile = "Makefile";
  -    dontConfigure = true;
  -    postPatch = stdenv.lib.optionals stdenv.isAarch64 ''
  +    makefile = "Makefile";
  +    postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isAarch64 ''
         sed -i -e '1 i\CPUFLAGS += -DARM_FIX -DNO_ASM -DARM_ASM -DDONT_WANT_ARM_OPTIMIZATIONS -DARM64' Makefile \
         && sed -i -e 's,CPUFLAGS  :=,,g' Makefile
       '';
  -    makeFlags = stdenv.lib.optionals stdenv.isAarch64 [ "WITH_DYNAREC=aarch64" ];
  -  };
  -
  -  pcsx_rearmed = (mkLibRetroCore rec {
  +  };
  +
  +  pcsx_rearmed = mkLibRetroCore rec {
       core = "pcsx_rearmed";
       src = fetchRetro {
         repo = core;
  
positive.code:     postBuild = "cd src/citra_libretro";
    };
  
    desmume = (mkLibRetroCore rec {
      core = "desmume";
      src = fetchRetro {
        repo = core;
  
negative.code:       sha256 = "1krr4lmdiv0d7bxk37fqz5y412znb5bmxapv9g7ci6fp87sr69jq";
      };
      description = "FMSX libretro port";
      license = "Non-commercial";
      makefile = "Makefile";
    };
  
    freeintv = mkLibRetroCore rec {
      core = "freeintv";
      src = fetchRetro {
        repo = core;
  