vyxal: update mill dependency to use fetchurl for version and URL locking

The source link for mill will be changing, so we need to specify the
download link for mill here.

Signed-off-by: Qiming Chu <cchuqiming@gmail.com>

Qiming Chu a4c80aee de0fe301

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