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 1212 cardano-db-sync-13-1-0-0 = { url = "github:IntersectMBO/cardano-db-sync/13.1.0.0" ; flake = false ; } ;
1313 cardano-db-sync-sancho-4-0-0 = { url = "github:IntersectMBO/cardano-db-sync/sancho-4-0-0" ; flake = false ; } ;
1414 cardano-db-sync-sancho-4-1-0 = { url = "github:IntersectMBO/cardano-db-sync/sancho-4.1.0" ; flake = false ; } ;
15+ cardano-db-sync-13-2-0-1 = { url = "github:IntersectMBO/cardano-db-sync/13.2.0.1" ; flake = false ; } ;
1516
1617 ogmios-5-6-0 = { url = "https://github.com/CardanoSolutions/ogmios.git" ; ref = "refs/tags/v5.6.0" ; type = "git" ; submodules = true ; flake = false ; } ;
1718 ogmios-6-1-0 = { url = "https://github.com/CardanoSolutions/ogmios.git" ; ref = "refs/tags/v6.1.0" ; type = "git" ; submodules = true ; flake = false ; } ;
369370
370371 ++
371372
373+ ( let
374+ input = "cardano-db-sync-13-2-0-1" ;
375+ version = ( builtins . fromJSON ( builtins . readFile ./flake.lock ) ) . nodes . ${ input } . original . ref ;
376+ theFlake = ( import inputs . flake-compat {
377+ src = enableAArch64 {
378+ original = inputs . ${ input } ;
379+ supportedSystemsPath = "supported-systems.nix" ;
380+ extraPatch = ''
381+ (
382+ cd $out
383+ patch -p1 -i ${ ./cardano-db-sync-sancho-4-0-0--run-as-root.patch }
384+ # <https://github.com/IntersectMBO/cardano-db-sync/pull/1660>
385+ patch -p1 -i ${ ./cardano-db-sync-sancho-4-0-0--dont-use-cardano-parts.diff }
386+ patch -p1 -i ${ ./cardano-db-sync-sancho-4-0-0--enable-aarch64-linux.patch }
387+ )
388+ '' ;
389+ } ;
390+ override-inputs . customConfig = { outputs = { } ; } // ( import inputs . flake-compat {
391+ src = builtins . path {
392+ path = "${ inputs . ${ input } } /custom-config" ;
393+ } ;
394+ } ) . defaultNix ;
395+ } ) . defaultNix ;
396+ in [
397+ # { name = "${input}--flake"; value = theFlake; }
398+ { name = "${ input } --oci" ; value = retagOCI "cardano-db-sync" version theFlake . packages . ${ system } . cardano-db-sync-docker ; }
399+ ] )
400+
401+ ++
402+
372403 # —————————————————— cardano-node —————————————————— #
373404
374405 ( let
You can’t perform that action at this time.
0 commit comments