···3 stdenvNoCC,
4 clangStdenv,
5 fetchFromGitHub,
06 mill,
7 which,
8}:
···10let
11 # we need to lock the mill version, because an update will change the
12 # fetched internal dependencies, thus breaking the deps FOD
13- lockedMill = mill.overrideAttrs (oldAttrs: {
14 # should ideally match the version listed inside the `.mill-version` file of the source
15 version = "0.11.12";
16- src = oldAttrs.src.overrideAttrs {
17- outputHash = "sha256-k4/oMHvtq5YXY8hRlX4gWN16ClfjXEAn6mRIoEBHNJo=";
018 };
19 });
20in
···3 stdenvNoCC,
4 clangStdenv,
5 fetchFromGitHub,
6+ fetchurl,
7 mill,
8 which,
9}:
···11let
12 # we need to lock the mill version, because an update will change the
13 # fetched internal dependencies, thus breaking the deps FOD
14+ lockedMill = mill.overrideAttrs (oldAttrs: rec {
15 # should ideally match the version listed inside the `.mill-version` file of the source
16 version = "0.11.12";
17+ src = fetchurl {
18+ url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly";
19+ hash = "sha256-k4/oMHvtq5YXY8hRlX4gWN16ClfjXEAn6mRIoEBHNJo=";
20 };
21 });
22in