mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2025-08-06 03:46:57 +02:00
Signed-off-by: Christoph Heiss <christoph@c8h4.io> Co-authored-by: JR Conlin <jconlin+git@mozilla.com>
21 lines
601 B
Nix
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";
|
|
}
|