View on GitHub
File Changes
m
+0/-7
* The [Protocol Buffers][protobuf] version bundled with crate `prost-build` will be used.
* For distribution or container builds in general, it's a good practice to install `protoc` from the official distribution package if available.

                      
-
#### NixOS
-

                      
-
If you are on NixOS, use [shell.nix](shell.nix) to pull the dependencies and set up the environment for the build.
-

                      
-

                      
-
[protobuf]: https://developers.google.com/protocol-buffers/
-

                      
### Commands

                      
Check `<latest release tag>` on https://github.com/input-output-hk/jormungandr/releases/latest
r
+0/-16
-
{ nixpkgs ? fetchTarball channel:nixos-unstable
-
, pkgs ? import nixpkgs {}
-
}:
-

                      
-
with pkgs;
-

                      
-
stdenv.mkDerivation {
-
  name = "jormungandr";
-

                      
-
  src = null;
-

                      
-
  buildInputs = [ rustup rustc cargo sqlite protobuf rustfmt pkgconfig openssl ];
-

                      
-
  # FIXME: we can remove this once prost is updated.
-
  PROTOC = "${protobuf}/bin/protoc";
-
}