From 7e1be588bf38ccec937d1ec6dbc0e851cd9180ce Mon Sep 17 00:00:00 2001 From: Thomas Strobel Date: Fri, 3 Jul 2015 22:58:33 +0200 Subject: [PATCH] Leveldb: export helper functions of leveldb --- pkgs/development/libraries/leveldb/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/leveldb/default.nix b/pkgs/development/libraries/leveldb/default.nix index fd668fbcad95..c32372e841ce 100644 --- a/pkgs/development/libraries/leveldb/default.nix +++ b/pkgs/development/libraries/leveldb/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { buildInputs = [ sqlite kyotocabinet ]; buildPhase = '' - make all db_bench{,_sqlite3,_tree_db} leveldbutil + make all db_bench{,_sqlite3,_tree_db} leveldbutil libmemenv.a ''; installPhase = " @@ -22,6 +22,8 @@ stdenv.mkDerivation rec { cp -r include $out cp lib* $out/lib cp db_bench{,_sqlite3,_tree_db} leveldbutil $out/bin + mkdir -p $out/include/leveldb/helpers + cp helpers/memenv/memenv.h $out/include/leveldb/helpers "; meta = with stdenv.lib; {