Files
clio/flake.nix
2026-10-08 15:24:19 +01:00

19 lines
590 B
Nix

{
description = "Nix related things for Clio";
inputs = {
# Clio is built with the same toolchain as xrpld, so its dev shells are reused as is.
# Keep the revision in sync with the `ghcr.io/xrplf/xrpld/nix-ubuntu` image used in CI,
# so the local shell matches CI.
# Its nixpkgs is deliberately not overridden with `follows`:
# that would change the toolchain and lose the match with CI.
xrpld.url = "github:XRPLF/rippled/3d526d456ecd54dfb83d34eda54f5e88df840d79";
};
outputs =
{ xrpld, ... }:
{
inherit (xrpld) devShells formatter;
};
}