Skip to content

Commit

Permalink
Merge pull request #317009 from TomaSajt/mill
Browse files Browse the repository at this point in the history
mill: use finalAttrs
  • Loading branch information
wegank authored Jun 5, 2024
2 parents 4a81335 + a1d2fb3 commit 3c46485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/tools/build-managers/mill/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ lib, stdenv, fetchurl, jre, makeWrapper }:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "mill";
version = "0.11.7";

src = fetchurl {
url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly";
url = "https://github.com/com-lihaoyi/mill/releases/download/${finalAttrs.version}/${finalAttrs.version}-assembly";
hash = "sha256-iijKZlQoiIWos+Kdq9hIgiM5yM7xCf11abrJ71LO9jA=";
};

Expand Down Expand Up @@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ scalavision zenithal ];
platforms = lib.platforms.all;
};
}
})

0 comments on commit 3c46485

Please sign in to comment.