Skip to content

Commit 277eb40

Browse files
committed
smash: force usage of cardano-node 1.26.1
1 parent 4aed568 commit 277eb40

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

nix/sources.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,18 @@
133133
"url": "https://github.com/input-output-hk/cardano-node/archive/8fe46140a52810b6ca456be01d652ca08fe730bf.tar.gz",
134134
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
135135
},
136+
"cardano-node-1.26": {
137+
"branch": "refs/tags/1.26.1",
138+
"description": "The core component that is used to participate in a Cardano decentralised blockchain.",
139+
"homepage": "https://cardano.org",
140+
"owner": "input-output-hk",
141+
"repo": "cardano-node",
142+
"rev": "62f38470098fc65e7de5a4b91e21e36ac30799f3",
143+
"sha256": "0ws2lgpl88p6bbrim43dczm19an9nba97sr483abq32b1xh4m3qh",
144+
"type": "tarball",
145+
"url": "https://github.com/input-output-hk/cardano-node/archive/62f38470098fc65e7de5a4b91e21e36ac30799f3.tar.gz",
146+
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
147+
},
136148
"cardano-rosetta": {
137149
"branch": "refs/tags/1.1.0",
138150
"description": "https://www.rosetta-api.org implementation for Cardano Node",

roles/smash.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ let
44
cfg = config.services.smash;
55
hostAddr = getListenIp nodes.${name};
66
inherit (import (sourcePaths.smash + "/nix") {}) smashHaskellPackages;
7+
8+
# Force usage of cardano-node 1.26
9+
inherit (import (sourcePaths.cardano-node-service + "/nix") { gitrev = self.sourcePaths."cardano-node-1.26".rev; }) cardano-node;
710
in {
811
environment = {
912
systemPackages = [
@@ -21,8 +24,9 @@ in {
2124

2225
services.cardano-node = {
2326
allProducers = [ globals.relaysNew ];
24-
# FIXME Reactivate when smash update to 1.25+:
25-
#package = smashHaskellPackages.cardano-node.components.exes.cardano-node;
27+
# FIXME Reactivate when smash update to 1.28:
28+
#package = import cardanoNodeHaskellPackages.cardano-node.components.exes.cardano-node;
29+
package = cardano-node;
2630

2731
totalMaxHeapSizeMbytes = 0.5 * config.node.memory * 1024;
2832
};

0 commit comments

Comments
 (0)