Skip to content

Commit b23e7d4

Browse files
authored
vyxal: update mill dependency to use fetchurl for version and URL locking (#387820)
2 parents ef0f3cb + a4c80ae commit b23e7d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkgs/by-name/vy/vyxal/package.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@
33
stdenvNoCC,
44
clangStdenv,
55
fetchFromGitHub,
6+
fetchurl,
67
mill,
78
which,
89
}:
910

1011
let
1112
# we need to lock the mill version, because an update will change the
1213
# fetched internal dependencies, thus breaking the deps FOD
13-
lockedMill = mill.overrideAttrs (oldAttrs: {
14+
lockedMill = mill.overrideAttrs (oldAttrs: rec {
1415
# should ideally match the version listed inside the `.mill-version` file of the source
1516
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=";
1820
};
1921
});
2022
in

0 commit comments

Comments
 (0)