2024-03-13 09:43:37 +00:00
|
|
|
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-23.11.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
|
2024-02-27 16:17:15 +00:00
|
|
|
pkgs.postgresql # needed to build the diesel cli utility
|
2023-05-17 13:46:13 +00:00
|
|
|
];
|
|
|
|
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
|
|
|
}
|