Skip to content

Commit

Permalink
rocksdb-haskell: just compile rocksdb statically to fix #21215
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Dec 18, 2016
1 parent 8ca29a7 commit 5e5df0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion pkgs/development/haskell-modules/hackage-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -148676,7 +148676,7 @@ self: {
homepage = "http://github.com/agrafix/rocksdb-haskell";
description = "Haskell bindings to RocksDB";
license = stdenv.lib.licenses.bsd3;
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-darwin" "x86_64-linux" ];
}) {inherit (pkgs) rocksdb;};

"roguestar" = callPackage
Expand Down
3 changes: 0 additions & 3 deletions pkgs/development/libraries/rocksdb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,10 @@ stdenv.mkDerivation rec {
JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc";

buildFlags = [
"shared_lib"
"static_lib"
];

installFlags = [
"install-shared"
"install-static"
"INSTALL_PATH=\${out}"
];

Expand Down

0 comments on commit 5e5df0f

Please sign in to comment.