forked from logos-blockchain/logos-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
30 lines (28 loc) · 927 Bytes
/
shell.nix
File metadata and controls
30 lines (28 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ 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";
rev = "c4a8327b0f25d1d81edecbb6105f74d7cf9d7382";
}))
];
}
}:
pkgs.mkShell {
name = "nomos-research-build-shell";
buildInputs = with pkgs; [
pkg-config
# Updating the version here requires also updating the `rev` version in the `overlays` section above
# with a commit that contains the new version in its manifest
rust-bin.stable."1.86.0".default
clang_14
llvmPackages_14.libclang
openssl.dev
];
shellHook = ''
export LIBCLANG_PATH="${pkgs.llvmPackages_14.libclang.lib}/lib";
'';
}