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-04-01 13:27:15 +00:00
|
|
|
pkgs.postgresql # needed to build the diesel cli utility
|
|
|
|
pkgs.go # go api
|
|
|
|
pkgs.nodejs # js api + ui
|
|
|
|
pkgs.yarn
|
|
|
|
pkgs.protoc-gen-grpc-web # grpc-web api
|
2024-04-01 13:37:41 +00:00
|
|
|
pkgs.protoc-gen-go # go api
|
|
|
|
pkgs.protoc-gen-go-grpc
|
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
|
|
|
}
|