mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-21 22:17:51 +00:00
22 lines
567 B
Nix
22 lines
567 B
Nix
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz") {} }:
|
|
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
pkgs.pkg-config
|
|
];
|
|
buildInputs = [
|
|
pkgs.cacert
|
|
pkgs.rustup
|
|
pkgs.protobuf
|
|
pkgs.perl
|
|
pkgs.cmake
|
|
pkgs.clang
|
|
pkgs.postgresql
|
|
pkgs.openssl
|
|
];
|
|
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
|
|
BINDGEN_EXTRA_CLANG_ARGS = "-I${pkgs.llvmPackages.libclang.lib}/lib/clang/${pkgs.llvmPackages.libclang.version}/include";
|
|
DOCKER_BUILDKIT = "1";
|
|
NIX_STORE = "/nix/store";
|
|
TZ="UTC";
|
|
} |