mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
rethinkdb: Force dynamic linking and allow dependency substitution
This commit is contained in:
parent
0411a4c376
commit
5960a652f1
@ -11,12 +11,21 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "19qhia4lfa8a0rzp2v6lnlxp2lf4z4vqhgfxnicfdnx07q4r847i";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Remove the dependence on bundled libraries
|
||||
sed -i '/must_fetch_list/ s/ v8//' configure
|
||||
|
||||
# Don't use the default command line args
|
||||
rm configure.default
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export ALLOW_WARNINGS=1
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--dynamic=all"
|
||||
"--with-jemalloc"
|
||||
"--lib-path=${jemalloc}/lib"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user