Linerre / sui-overlay

Sui blockchain overlay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sui-overlay

The binary releases of Sui blockchain.

Usages

The example usage with flake.

{

  inputs = {
    nixpkgs = { url = "github:NixOS/nixpkgs/nixos-23.11"; };
    flake-utils = { url = "github:numtide/flake-utils"; };
    sui-overlay = { url = "github:doglooksgood/sui-overlay"; };
  };

  outputs = { self, nixpkgs, flake-utils, sui-overlay }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        overlays = [ sui-overlay.overlays.${system}.default ];
        pkgs = import nixpkgs { inherit system overlays; };
      in
        {
          devShell = pkgs.mkShell {
            buildInputs = with pkgs; [
              sui-devnet # or sui-testnet, sui-mainnet
              # other stuff
            ];
          };
        }
    );

  ...
}

About

Sui blockchain overlay


Languages

Language:Nix 100.0%