Unverified Commit b23e7d4e authored by Toma's avatar Toma Committed by GitHub
Browse files

vyxal: update mill dependency to use fetchurl for version and URL locking (#387820)

parents ef0f3cb0 a4c80aee
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenvNoCC,
  clangStdenv,
  fetchFromGitHub,
  fetchurl,
  mill,
  which,
}:
@@ -10,11 +11,12 @@
let
  # we need to lock the mill version, because an update will change the
  # fetched internal dependencies, thus breaking the deps FOD
  lockedMill = mill.overrideAttrs (oldAttrs: {
  lockedMill = mill.overrideAttrs (oldAttrs: rec {
    # should ideally match the version listed inside the `.mill-version` file of the source
    version = "0.11.12";
    src = oldAttrs.src.overrideAttrs {
      outputHash = "sha256-k4/oMHvtq5YXY8hRlX4gWN16ClfjXEAn6mRIoEBHNJo=";
    src = fetchurl {
      url = "https://github.com/com-lihaoyi/mill/releases/download/${version}/${version}-assembly";
      hash = "sha256-k4/oMHvtq5YXY8hRlX4gWN16ClfjXEAn6mRIoEBHNJo=";
    };
  });
in