nix: add shell.nix

This enables a build environment using nix. Should work on most linux
varieties but I've only tested on NixOS.
This commit is contained in:
William Casarin
2023-04-20 06:58:04 -07:00
parent e5ec135e78
commit f816841ada

8
shell.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
buildInputs = [
perl perlPackages.YAML perlPackages.TemplateToolkit
lmdb zstd secp256k1 libb2 flatbuffers zlib openssl libuv
];
}