Skip to content

Commit b990f4e

Browse files
authored
Merge pull request #63 from OpenXiangShan/bump-tools
chore(tools): bump mill version
2 parents 3d93f37 + 8f0c664 commit b990f4e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
bison
3636
# override mill & verilator to use our version
3737
(mill.overrideAttrs (finalAttrs: previousAttrs: {
38-
version = "0.12.3";
38+
version = "0.12.15";
3939
src = fetchurl {
40-
url = "https://github.com/com-lihaoyi/mill/releases/download/${finalAttrs.version}/${finalAttrs.version}-assembly";
41-
hash = "sha256-hqzAuYadCciYPs/b6zloLUfrWF4rRtlBSMxSj7tLg7g=";
40+
url = "https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/${finalAttrs.version}/mill-dist-${finalAttrs.version}.exe";
41+
hash = "sha256-6hu6AeIg9M4guzMyR9JUor+bhlVMEMPX1+FmQewKdtg=";
4242
};
4343
}))
4444
(verilator.overrideAttrs (finalAttrs: previousAttrs: {

setup-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ apt install -y \
3232
zstd \
3333
libzstd-dev
3434

35-
sh -c "curl -L https://github.com/com-lihaoyi/mill/releases/download/0.12.5/0.12.5 > /usr/local/bin/mill && chmod +x /usr/local/bin/mill"
35+
sh -c "curl -L https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/1.0.4/mill-dist-1.0.4-mill.sh > /usr/local/bin/mill && chmod +x /usr/local/bin/mill"
3636

3737
# We need to use Verilator 4.204+, so we install Verilator manually
3838
source ./install-verilator.sh

0 commit comments

Comments
 (0)