mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-22 14:32:24 +00:00
15 lines
436 B
Nix
15 lines
436 B
Nix
|
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-22.11.tar.gz") {} }:
|
||
|
|
||
|
pkgs.mkShell {
|
||
|
buildInputs = [
|
||
|
pkgs.cacert
|
||
|
pkgs.rustup
|
||
|
pkgs.protobuf
|
||
|
pkgs.perl
|
||
|
pkgs.cmake
|
||
|
pkgs.clang
|
||
|
pkgs.postgresql
|
||
|
];
|
||
|
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
||
|
BINDGEN_EXTRA_CLANG_ARGS = "-I${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include";
|
||
|
}
|