nomos-node/shell.nix

29 lines
752 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> {
builtins = [(import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/e06c5e01088672bc460b2bc6b61d88e95190a492.tar.gz";
sha256 = "sha256:e7d37547638aeb6b70a9dbf6dcc5970529edef39b46760a1c9689ac7f066ed58";
}))];
overlays = [
(import (fetchGit {
url = "https://github.com/oxalica/rust-overlay.git";
2024-03-01 11:28:05 +00:00
rev = "0e031ddb3f5a339dc6eda93d271ae43618b14eec";
}))
];
}
}:
pkgs.mkShell {
name = "nomos-research-build-shell";
buildInputs = with pkgs; [
pkg-config
2024-03-01 11:28:05 +00:00
rust-bin.stable."1.76.0".default
clang_14
llvmPackages_14.libclang
2024-01-17 14:51:43 +00:00
openssl
];
shellHook = ''
export LIBCLANG_PATH="${pkgs.llvmPackages_14.libclang.lib}/lib";
'';
}