File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1010
1111 cardano-db-sync-13-1-0-0 = { url = "github:IntersectMBO/cardano-db-sync/13.1.0.0" ; flake = false ; } ;
1212 cardano-db-sync-sancho-4-0-0 = { url = "github:IntersectMBO/cardano-db-sync/sancho-4-0-0" ; flake = false ; } ;
13+ cardano-db-sync-sancho-4-1-0 = { url = "github:IntersectMBO/cardano-db-sync/sancho-4.1.0" ; flake = false ; } ;
1314
1415 ogmios-5-6-0 = { url = "https://github.com/CardanoSolutions/ogmios.git" ; ref = "refs/tags/v5.6.0" ; type = "git" ; submodules = true ; flake = false ; } ;
1516 ogmios-6-1-0 = { url = "https://github.com/CardanoSolutions/ogmios.git" ; ref = "refs/tags/v6.1.0" ; type = "git" ; submodules = true ; flake = false ; } ;
272273
273274 ++
274275
276+ ( let
277+ input = "cardano-db-sync-sancho-4-1-0" ;
278+ version = ( builtins . fromJSON ( builtins . readFile ./flake.lock ) ) . nodes . ${ input } . original . ref ;
279+ theFlake = ( import inputs . flake-compat {
280+ src = enableAArch64 {
281+ original = inputs . ${ input } ;
282+ supportedSystemsPath = "supported-systems.nix" ;
283+ extraPatch = ''
284+ (
285+ cd $out
286+ patch -p1 -i ${ ./cardano-db-sync-sancho-4-0-0--run-as-root.patch }
287+ # <https://github.com/IntersectMBO/cardano-db-sync/pull/1660>
288+ patch -p1 -i ${ ./cardano-db-sync-sancho-4-0-0--dont-use-cardano-parts.diff }
289+ patch -p1 -i ${ ./cardano-db-sync-sancho-4-0-0--enable-aarch64-linux.patch }
290+ )
291+ '' ;
292+ } ;
293+ override-inputs . customConfig = { outputs = { } ; } // ( import inputs . flake-compat {
294+ src = builtins . path {
295+ path = "${ inputs . ${ input } } /custom-config" ;
296+ } ;
297+ } ) . defaultNix ;
298+ } ) . defaultNix ;
299+ in [
300+ # { name = "${input}--flake"; value = theFlake; }
301+ { name = "${ input } --oci" ; value = retagOCI "cardano-db-sync" version theFlake . packages . ${ system } . cardano-db-sync-docker ; }
302+ ] )
303+
304+ ++
305+
275306 # —————————————————— cardano-node —————————————————— #
276307
277308 ( let
You can’t perform that action at this time.
0 commit comments