Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (21 sloc) 569 Bytes
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
pkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
rustChannel = pkgs.rustChannelOf {
date = "2019-02-14";
channel = "nightly";
};
in
with pkgs;
stdenv.mkDerivation {
name = "rust-ofdb-dev-env";
buildInputs = [
rustChannel.rust
cmake
pkgconfig
openssl
];
SQLITE3_DIR = "${sqlite.dev}";
SQLITE3_LIB_DIR = "${sqlite.out}/lib";
SQLITE3_INCLUDE_LIB_DIR = "${sqlite.out}/include";
}