anchor.diff:  
       outputHashMode = "recursive";
       outputHashAlgo = "sha256";
  -    outputHash     = "1ncl34f39mvk0zb5jl1l77cwjdg3xfnhjxbzz11pdfqw0d7wqywj";
  +    outputHash     = if stdenv.isLinux && stdenv.isx86_64 then "1ncl34f39mvk0zb5jl1l77cwjdg3xfnhjxbzz11pdfqw0d7wqywj"
  +                     else if stdenv.isDarwin && stdenv.isx86_64 then "06c885w088yvh8l1r1jbrz0549gx2xvc8xr6rlxy6y27jk5655p2"
  +                     else throw "unsupported platform";
     };
   
  -  nativeBuildInputs = [ autoPatchelfHook ] ;
  -  phases = [ "installPhase" "fixupPhase" ];
  -  buildInputs = [ stdenv.cc.cc.lib zlib ] ;
  +  dontUnpack = true;
  +  nativeBuildInputs = [ autoPatchelfHook installShellFiles ];
  +  buildInputs = [ stdenv.cc.cc.lib zlib ];
  +  propagatedBuildInputs = [ jre ];
   
     installPhase = ''
       export COURSIER_CACHE=$(pwd)
  
positive.code:     sha256 = "1xzg0qfkjdmzm3mvg82mc4iia8cl7b6vbl8ng4ir2xsz00zjrlsq";
    };
  
    bloop-coursier = stdenv.mkDerivation {
      name = "${pname}-coursier-${version}";
  
      phases = [ "installPhase" ];
      installPhase = ''
  
negative.code: 
        mkdir channel
        ln -s ${bloop-coursier-channel} channel/bloop.json
        ${coursier}/bin/coursier install --install-dir $out --install-platform ${platform} --default-channels=false --channel channel --only-prebuilt=true bloop
  
        # Remove binary part of the coursier launcher script to make derivation output hash stable
        sed -i '5,$ d' $out/bloop
  