mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-05 20:26:26 +02:00
Merge branch 'master' into docs/add-hawk-token-example
This commit is contained in:
commit
e877ce06af
@ -29,6 +29,9 @@ Mozilla Sync Storage built with [Rust](https://rust-lang.org).
|
||||
- MySQL 5.7 (or compatible)
|
||||
-\* libmysqlclient (`brew install mysql` on macOS, `apt-get install libmysqlclient-dev` on Ubuntu)
|
||||
- [Go](https://golang.org/doc/install)
|
||||
- Cmake
|
||||
- Pkg-config
|
||||
- Openssl
|
||||
|
||||
Depending on your OS, you may also need to install `libgrpcdev`, and `protobuf-compiler-grpc`.
|
||||
|
||||
|
||||
20
shell.nix
Normal file
20
shell.nix
Normal file
@ -0,0 +1,20 @@
|
||||
# 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
|
||||
pkgconfig
|
||||
openssl
|
||||
cmake
|
||||
protobuf
|
||||
go
|
||||
];
|
||||
NIX_LDFLAGS = "-L${libmysqlclient}/lib/mysql";
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user