mlabs-haskell / cardano.nix

Nix ❤️ Cardano
https://mlabs-haskell.github.io/cardano.nix/
2 stars 0 forks source link

NixOS package for `ogmios` #30

Closed aciceri closed 3 months ago

aciceri commented 5 months ago

Refer to ogmios-nixos, ideally that repository will be replaced by cardano.nix when this issue is implemented.

Ogmios doesn't provide a derivation upstream, so it has to live here. It would be nice if this flake would also expose that derivation between its packages output. Probably we want to invent some machinery like we did for tests and modules to automatically read derivations from paths like packages/ogmios/default.nix so that when we'll add another package it we can just add the derivation in packages/<name>/default.nix.

Probably this will give us problems for non x86_64-linux system, at the moment I would say to not waste too much time trying to make it work for other architectures. If it doesn't work for other architectures it would be nice having a smart way to mark it as broken without making Hercules CI fail when trying to build the packages outputs for all the systems (trivially we can make flake-parts avoid to expose those derivations for those systems if marked as broken).

Feel free to split this issue into sub issues, in case please link them here as a to do list.