anchor.diff:  , mcpp
   , wiiuse
   , angelscript
  +, libopenglrecorder
  +, sqlite
   , Cocoa
   , IOKit
  +, libsamplerate
   }:
   let
  -  dir = "stk-code";
     assets = fetchsvn {
       url = "https://svn.code.sf.net/p/supertuxkart/code/stk-assets";
  -    rev = "18218";
  -    sha256 = "11iv3cqzvbjg33zz5i5gkl2syn6mlw9wqv0jc7h36vjnjqjv17xw";
  +    rev = "18464";
  +    sha256 = "1a84j3psl4cxzkn5ynakpjill7i2f9ki2p729bpmbrvg8fki95aa";
       name = "stk-assets";
     };
   
  
positive.code:     harfbuzz
      mcpp
      wiiuse
    ]
    ++ lib.optional (!stdenv.hostPlatform.isAarch64) angelscript
    ++ lib.optional stdenv.hostPlatform.isLinux openal
    ++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa ];
  
    cmakeFlags = [
      "-DBUILD_RECORDER=OFF" # libopenglrecorder is not in nixpkgs
      # doesn't work with our 2.35.0 on aarch64-linux
      "-DUSE_SYSTEM_ANGELSCRIPT=${if !stdenv.hostPlatform.isAarch64 then "ON" else "OFF"}"
      "-DCHECK_ASSETS=OFF"
      "-DUSE_SYSTEM_WIIUSE=ON"
      "-DOpenGL_GL_PREFERENCE=GLVND"
  
negative.code:       --replace 'NOT (APPLE OR HAIKU)) AND USE_SYSTEM_WIIUSE' 'NOT (HAIKU)) AND USE_SYSTEM_WIIUSE'
    '';
  
    nativeBuildInputs = [
      cmake
      pkg-config
      makeWrapper
    ];
  
    buildInputs = [
      SDL2
  