syncstorage-rs/shell.nix
Christoph Heiss a55e373823
fix: nix-shell: update pkgconfig -> pkg-config build input (#1562)
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
Co-authored-by: JR Conlin <jconlin+git@mozilla.com>
2024-05-20 13:29:52 -07:00

21 lines
601 B
Nix

# Nix is a powerful package manager for Linux and other Unix systems that makes
# package management reliable and reproducible: https://nixos.org/nix/.
# This file is intended to be used with `nix-shell`
# (https://nixos.org/nix/manual/#sec-nix-shell) to setup a fully-functional
# syncstorage-rs build environment by installing all required dependencies.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "syncstorage-rs";
buildInputs = [
rustc
cargo
libmysqlclient
pkg-config
openssl
cmake
protobuf
go
];
NIX_LDFLAGS = "-L${libmysqlclient}/lib/mysql";
}