anchor.diff:        --prefix PATH : "${jre}/bin" \
         --set JAVA_HOME "${jre}"
       runHook postInstall
  +  '';
  +
  +  doInstallCheck = true;
  +  # The default release is a script which will do an impure download
  +  # just ensure that the application can run without network
  +  installCheckPhase = ''
  +    $out/bin/mill --help > /dev/null
     '';
   
     meta = with lib; {
  
positive.code:   dontUnpack = true;
    dontConfigure = true;
    dontBuild = true;
  
    installPhase = ''
      runHook preInstall
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "mill";
    version = "0.9.9";
  
    src = fetchurl {
      url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly";
      sha256 = "sha256-HIT7bxMEz7jpSsYvohN9+zYuyCf/ARE7hd48YMTo9/4=";
    };
  
    nativeBuildInputs = [ makeWrapper ];
  