diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-21 00:02:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 00:02:24 +0000 |
commit | 94a7cf0dcd44b08363c23e2579962b323f08a2a9 (patch) | |
tree | 552d0bd8ed8f1f27c831713793baa0afd50c2a22 /pkgs/development/tools/build-managers | |
parent | 6e112807d83b0bed211f0f9cecc2f5347135073d (diff) | |
parent | 63c505b7f25f4c3582f1730f7577578ac493e5a0 (diff) | |
download | nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.tar nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.tar.gz nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.tar.bz2 nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.tar.lz nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.tar.xz nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.tar.zst nixpkgs-94a7cf0dcd44b08363c23e2579962b323f08a2a9.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r-- | pkgs/development/tools/build-managers/mill/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/development/tools/build-managers/mill/default.nix b/pkgs/development/tools/build-managers/mill/default.nix index 4682fab41db..27a21619c1d 100644 --- a/pkgs/development/tools/build-managers/mill/default.nix +++ b/pkgs/development/tools/build-managers/mill/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "mill"; - version = "0.9.8"; + version = "0.9.9"; src = fetchurl { - url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}"; - sha256 = "sha256-vWCzjit7MPrKqEYgJfQHAkam9J9NgMObOQ/A+OQr24o="; + url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly"; + sha256 = "sha256-HIT7bxMEz7jpSsYvohN9+zYuyCf/ARE7hd48YMTo9/4="; }; nativeBuildInputs = [ makeWrapper ]; @@ -15,6 +15,9 @@ stdenv.mkDerivation rec { dontConfigure = true; dontBuild = true; + # this is mostly downloading a pre-built artifact + preferLocal = true; + installPhase = '' runHook preInstall install -Dm555 "$src" "$out/bin/.mill-wrapped" @@ -25,6 +28,13 @@ stdenv.mkDerivation rec { 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; { homepage = "https://www.lihaoyi.com/mill"; license = licenses.mit; |