mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
rocksdb: use split outputs
This commit is contained in:
parent
ec2981ae3d
commit
859db89a8f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user