rocksdb-haskell: just compile rocksdb statically to fix #21215

This commit is contained in:
Domen Kožar 2016-12-18 22:16:48 +01:00
parent 8ca29a7960
commit 5e5df0fea2
2 changed files with 1 additions and 4 deletions

View File

@ -148676,7 +148676,7 @@ self: {
homepage = "http://github.com/agrafix/rocksdb-haskell"; homepage = "http://github.com/agrafix/rocksdb-haskell";
description = "Haskell bindings to RocksDB"; description = "Haskell bindings to RocksDB";
license = stdenv.lib.licenses.bsd3; license = stdenv.lib.licenses.bsd3;
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-darwin" "x86_64-linux" ];
}) {inherit (pkgs) rocksdb;}; }) {inherit (pkgs) rocksdb;};
"roguestar" = callPackage "roguestar" = callPackage

View File

@ -36,13 +36,10 @@ stdenv.mkDerivation rec {
JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc"; JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc";
buildFlags = [ buildFlags = [
"shared_lib"
"static_lib" "static_lib"
]; ];
installFlags = [ installFlags = [
"install-shared"
"install-static"
"INSTALL_PATH=\${out}" "INSTALL_PATH=\${out}"
]; ];