anchor.diff:  
         mkdir channel
         ln -s ${bloop-coursier-channel} channel/bloop.json
  -      ${coursier}/bin/coursier install --install-dir $out --default-channels=false --channel channel --only-prebuilt=true bloop
  -
  +      ${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
  
positive.code:     sed "s|\$(dirname \"\$0\")|$out|" -i $out/bloop
  
      #Install completions
      mkdir -p $out/etc/bash_completion.d
      ln -s ${bloop-bash} $out/etc/bash_completion.d/bloop
      mkdir -p $out/share/zsh/site-functions
      ln -s ${bloop-zsh} $out/share/zsh/site-functions/_bloop
      mkdir -p $out/usr/share/fish/vendor_completions.d/
      ln -s ${bloop-fish} $out/usr/share/fish/vendor_completions.d/bloop.fish
    '';
  
    meta = with stdenv.lib; {
      homepage = "https://scalacenter.github.io/bloop/";
      license = licenses.asl20;
      description = "Bloop is a Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way.";
      maintainers = with maintainers; [ tomahna ];
    };
  }
  
negative.code: , fetchurl
  , coursier
  , autoPatchelfHook
  , installShellFiles
  , jre
  , lib
  , zlib
  }:
  