Skip to content

fix: bump mithril version to 2517.1 #5073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 6 additions & 112 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,21 @@
};
flake-utils.url = "github:numtide/flake-utils";
iohkNix = {
url = "github:input-output-hk/iohk-nix?rev=911835056d2b48a9ae65b4e3a2925c88a320a6ab";
url = "github:input-output-hk/iohk-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-compat = {
url = "github:input-output-hk/flake-compat";
flake = false;
};
customConfig.url = "github:input-output-hk/empty-flake";
cardano-node-runtime.url = "github:IntersectMBO/cardano-node?ref=10.2.1";
mithril.url = "github:input-output-hk/mithril?ref=2506.0";
cardano-node-runtime.url = "github:IntersectMBO/cardano-node?ref=10.3.1";
mithril.url = "github:input-output-hk/mithril?ref=2517.1";
};

outputs = { self, nixpkgs, nixpkgs-unstable, hostNixpkgs, flake-utils,
haskellNix, iohkNix, CHaP, customConfig, cardano-node-runtime,
mithril , ... }:
... }:
let
# Import libraries
lib = import ./nix/lib.nix nixpkgs.lib;
Expand Down Expand Up @@ -193,7 +193,6 @@
collectChecks
check;

mithrilPackages = mithril.packages.${system};
nodePackages = cardano-node-runtime.packages.${system};
nodeProject = cardano-node-runtime.project.${system};
nodeConfigs = lib.fileset.toSource {
Expand All @@ -210,7 +209,6 @@
pkgs.haskell-nix
nixpkgs-unstable.legacyPackages.${system}
nodePackages
mithrilPackages
set-git-rev.packages.default
rewrite-libs.packages.default
).appendModule [{
Expand Down
2 changes: 1 addition & 1 deletion lib/launcher/src/Cardano/Launcher/Mithril.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ downloadMithril workingDir = withCurrentDirectory workingDir $ do
"aarch64" -> "arm64"
other -> other

version = "2450.0"
version = "2517.1"
mithrilTar = "mithril-" <> version <> "-" <> platform <> ".tar"
mithrilPackage = mithrilTar <> ".gz"
downloadUrl = "https://github.com/input-output-hk/mithril/releases/download/"
Expand Down
3 changes: 1 addition & 2 deletions nix/haskell.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################################################################
# Builds Haskell packages with Haskell.nix
############################################################################
CHaP: haskell-nix: nixpkgs-recent: nodePkgs: mithrilPkgs: set-git-rev: rewrite-libs: haskell-nix.cabalProject' [
CHaP: haskell-nix: nixpkgs-recent: nodePkgs: set-git-rev: rewrite-libs: haskell-nix.cabalProject' [
({ lib, pkgs, buildProject, ... }: {
options = {
gitrev = lib.mkOption {
Expand Down Expand Up @@ -146,7 +146,6 @@ CHaP: haskell-nix: nixpkgs-recent: nodePkgs: mithrilPkgs: set-git-rev: rewrite-l
haskellPackages.pretty-simple
haskellPackages.weeder
haskellPackages.stylish-haskell
mithrilPkgs.mithril-client-cli

]);
shellHook = "export LOCAL_CLUSTER_CONFIGS=${localClusterConfigs}";
Expand Down
2 changes: 1 addition & 1 deletion run/common/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ services:
mithril:
env_file:
- .env
image: ghcr.io/input-output-hk/mithril-client:2506.0-2627f17
image: ghcr.io/input-output-hk/mithril-client:2517.1-b1a2faa
user: ${USER_ID}:${GROUP_ID}
volumes:
- ${NODE_DB}:/app/db
Expand Down
2 changes: 1 addition & 1 deletion run/common/nix/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ cleanup() {
mithril() {
# shellcheck disable=SC2048
# shellcheck disable=SC2086
nix shell "github:input-output-hk/mithril?ref=2506.0" -c $*
nix shell "github:input-output-hk/mithril?ref=2517.1" -c $*
}

# Trap the cleanup function on exit
Expand Down
2 changes: 1 addition & 1 deletion run/common/nix/snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

function mithril() {
nix shell 'github:input-output-hk/mithril?ref=2506.0' --command mithril-client $@
nix shell 'github:input-output-hk/mithril?ref=2517.1' --command mithril-client $@
}

function jq() {
Expand Down
2 changes: 1 addition & 1 deletion run/mainnet/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
mithril:
env_file:
- .env
image: ghcr.io/input-output-hk/mithril-client:2506.0-2627f17
image: ghcr.io/input-output-hk/mithril-client:2517.1-b1a2faa
user: ${USER_ID}:${GROUP_ID}
volumes:
- ${NODE_DB}:/app/db
Expand Down
2 changes: 1 addition & 1 deletion scripts/buildkite/admin/refresh-preprod-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export GENESIS_VERIFICATION_KEY=5b3132372c37332c3132342c3136312c362c3133372c3133
mithril() {
# shellcheck disable=SC2048
# shellcheck disable=SC2086
nix shell "github:input-output-hk/mithril?ref=2506.0" -c $*
nix shell "github:input-output-hk/mithril?ref=2517.1" -c $*
}

mithril echo "mithril is available" || exit 44
Expand Down
Loading