2022-12-12 19:29:23 +00:00
|
|
|
{ pkgs ? import <nixpkgs> {
|
|
|
|
builtins = [(import (fetchTarball {
|
2023-02-16 15:42:31 +00:00
|
|
|
url = "https://github.com/NixOS/nixpkgs/archive/e06c5e01088672bc460b2bc6b61d88e95190a492.tar.gz";
|
|
|
|
sha256 = "sha256:e7d37547638aeb6b70a9dbf6dcc5970529edef39b46760a1c9689ac7f066ed58";
|
2022-12-12 19:29:23 +00:00
|
|
|
}))];
|
|
|
|
overlays = [
|
|
|
|
(import (fetchGit {
|
|
|
|
url = "https://github.com/oxalica/rust-overlay.git";
|
2024-01-02 15:34:41 +00:00
|
|
|
rev = "a0df72e106322b67e9c6e591fe870380bd0da0d5";
|
2022-12-12 19:29:23 +00:00
|
|
|
}))
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}:
|
|
|
|
|
|
|
|
pkgs.mkShell {
|
|
|
|
name = "nomos-research-build-shell";
|
|
|
|
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
pkg-config
|
2024-01-02 15:34:41 +00:00
|
|
|
rust-bin.stable."1.75.0".default
|
2023-02-24 09:08:46 +00:00
|
|
|
clang_14
|
|
|
|
llvmPackages_14.libclang
|
2022-12-12 19:29:23 +00:00
|
|
|
];
|
2023-02-24 09:08:46 +00:00
|
|
|
shellHook = ''
|
|
|
|
export LIBCLANG_PATH="${pkgs.llvmPackages_14.libclang.lib}/lib";
|
|
|
|
'';
|
2022-12-12 19:29:23 +00:00
|
|
|
}
|