anchor.diff:      sed -i 's/com.github.anuken:packr:-SNAPSHOT/com.github.anuken:packr:034efe51781d2d8faa90370492133241bfb0283c/' build.gradle
     '';
   
  +  preBuild = ''
  +    # Arc is run at build time for sprite packing, and it needs to see
  +    # the runtime libraries
  +    ${stdenv.lib.optionalString stdenv.isLinux "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${alsaLib}/lib"}
  +    export GRADLE_USER_HOME=$(mktemp -d)
  +  '';
  +
     # The default one still uses jdk8 (#89731)
     gradle_6 = (gradleGen.override (old: { java = jdk14; })).gradle_6_7;
   
  
positive.code:     '';
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "18n671aa013cnsnp9aaw61llqz4s4vn7zgja8cazd0cg632x8jca";
    };
  
    # Separate commands for building and installing the server and the client
  
negative.code:   # Note: when raising the version, ensure that all SNAPSHOT versions in
    # build.gradle are replaced by a fixed version
    # (the current one at the time of release) (see postPatch).
    version = "122";
    buildVersion = makeBuildVersion version;
  
    src = fetchFromGitHub {
      owner = "Anuken";
      repo = "Mindustry";
      rev = "v${version}";
      sha256 = "19dxqscnny0c5w3pyg88hflrkhsqgd7zx19240kh4h69y3wwaz0m";
    };
  
    desktopItem = makeDesktopItem {
  