2023-06-05 11:35:00 +00:00
|
|
|
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz") {} }:
|
2023-05-17 13:46:13 +00:00
|
|
|
|
|
|
|
pkgs.mkShell {
|
2023-05-29 13:41:30 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgs.pkg-config
|
|
|
|
];
|
2023-05-17 13:46:13 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgs.cacert
|
|
|
|
pkgs.rustup
|
|
|
|
pkgs.protobuf
|
|
|
|
pkgs.perl
|
|
|
|
pkgs.cmake
|
|
|
|
pkgs.clang
|
|
|
|
];
|
|
|
|
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
|
|
|
BINDGEN_EXTRA_CLANG_ARGS = "-I${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include";
|
2023-05-29 13:41:30 +00:00
|
|
|
DOCKER_BUILDKIT = "1";
|
|
|
|
NIX_STORE = "/nix/store";
|
2023-07-27 12:06:07 +00:00
|
|
|
}
|