From 859db89a8f56dff96db3b1060feb0b575c08b589 Mon Sep 17 00:00:00 2001 From: Michael Bishop Date: Sun, 11 Mar 2018 12:41:57 -0300 Subject: [PATCH] rocksdb: use split outputs --- pkgs/development/libraries/rocksdb/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix index 562942f230fb..cd17bb8499d6 100644 --- a/pkgs/development/libraries/rocksdb/default.nix +++ b/pkgs/development/libraries/rocksdb/default.nix @@ -20,6 +20,8 @@ stdenv.mkDerivation rec { name = "rocksdb-${version}"; version = "5.10.3"; + outputs = [ "dev" "out" "static" ]; + src = fetchFromGitHub { owner = "facebook"; repo = "rocksdb"; @@ -65,6 +67,8 @@ stdenv.mkDerivation rec { # Might eventually remove this when we are confident in the build process echo "BUILD CONFIGURATION FOR SANITY CHECKING" cat make_config.mk + mkdir -pv $static/lib/ + mv -vi $out/lib/librocksdb.a $static/lib/ ''; enableParallelBuilding = true;