File tree Expand file tree Collapse file tree 4 files changed +30
-0
lines changed
Expand file tree Collapse file tree 4 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1919 cardano-wallet . url = "github:input-output-hk/cardano-wallet" ;
2020 cardano-ogmios . url = "github:input-output-hk/cardano-ogmios/vasil" ;
2121 # --------------------------------------------------------------
22+ oura . url = "github:txpipe/oura" ;
2223 } ;
2324 outputs = inputs : let
2425 nomadEnvs = inputs . self . ${ system } . cloud . nomadEnvs ;
Original file line number Diff line number Diff line change @@ -565,4 +565,16 @@ in {
565565 exec ${ packages . ogmios } /bin/ogmios "'' ${args[@]}"
566566 '' ;
567567 } ;
568+
569+ oura = writeShellApplication {
570+ runtimeInputs = prelude-runtime ;
571+ debugInputs = [ packages . oura ] ;
572+ name = "entrypoint" ;
573+ text = ''
574+
575+ ${ prelude }
576+
577+ exec ${ packages . oura } /bin/oura daemon "'' ${args[@]}"
578+ '' ;
579+ } ;
568580}
Original file line number Diff line number Diff line change 7474 ] ;
7575 config . User = "1000:1000" ;
7676 } ;
77+ oura = buildDebugImage entrypoints . oura {
78+ name = "registry.ci.iog.io/oura" ;
79+ maxLayers = 25 ;
80+ layers = [
81+ ( n2c . buildLayer { deps = entrypoints . oura . runtimeInputs ; } )
82+ ( n2c . buildLayer { deps = [ packages . oura ] ; } )
83+ ] ;
84+ contents = [ nixpkgs . bashInteractive ] ;
85+ config . Cmd = [
86+ "${ entrypoints . oura } /bin/entrypoint"
87+ ] ;
88+ config . User = "1000:1000" ;
89+ } ;
90+
7791}
Original file line number Diff line number Diff line change 55 inherit ( inputs ) nixpkgs cardano-wallet cardano-db-sync cardano-node cardano-ogmios ;
66 inherit ( inputs . cells ) cardano ;
77 inherit ( nixpkgs ) lib ;
8+
9+ inherit ( inputs . oura . packages ) oura ;
810 cardano-node-project =
911 (
1012 cardano-node . legacyPackages . extend (
3638 cardano-db-sync = cardano-db-sync . packages . cardano-db-sync ;
3739 bech32 = cardano-node-project . hsPkgs . bech32 . components . exes . bech32 ;
3840 ogmios = cardano-ogmios . packages . ogmios ;
41+
3942 cardano-config-html-public = let
4043 publicEnvNames = [ "mainnet" "testnet" "vasil-qa" "vasil-dev" ] ;
4144 environments = lib . filterAttrs ( n : _ : builtins . elem n publicEnvNames ) cardano . environments ;
You can’t perform that action at this time.
0 commit comments