File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
templates/cardano-parts-project/flake Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 7171 # Config for cardano-node group deployments
7272 inputs . cardano-parts . nixosModules . profile-cardano-node-group
7373 inputs . cardano-parts . nixosModules . profile-cardano-custom-metrics
74+
75+ # Until 10.5 is released -- see description below
76+ absPeerSnap
7477 ] ;
7578 } ;
7679
184187 inputs . cardano-parts . nixosModules . profile-cardano-postgres
185188 { services . cardano-node . shareNodeSocket = true ; }
186189 { services . cardano-postgres . enablePsqlrc = true ; }
190+
191+ # Until 10.5 is released -- see description below
192+ absPeerSnap
187193 ] ;
188194 } ;
189195
197203 { services . cardano-faucet . acmeEmail = "[email protected] " ; } 198204 ] ;
199205 } ;
206+
207+ # Until 10.5.x is released, 10.4.1 will fail to start without this because
208+ # node doesn't yet properly look up the relative path from topology to
209+ # peer snapshot file.
210+ #
211+ # Setting this option null fixes the problem, but will leave a
212+ # dangling peer snapshot file until 10.6.
213+ #
214+ # So until then, we'll switch from relative path that causes node failure
215+ # to absolute path which does not.
216+ absPeerSnap = { services . cardano-node . peerSnapshotFile = i : "/etc/cardano-node/peer-snapshot-${ toString i } .json" ; } ;
200217 in {
201218 meta = {
202219 nixpkgs = import inputs . nixpkgs {
You can’t perform that action at this time.
0 commit comments