From 3dc7849ab9496feb79b9b5638b73d962ca68a620 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 25 Mar 2015 07:45:53 -0500 Subject: [PATCH] robomongo: fix build with openssl-1.0.1m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 35c0e0a768692ffe241e874cdac6b771e5e7dcbf) Signed-off-by: Domen Kožar --- pkgs/applications/misc/robomongo/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/robomongo/default.nix b/pkgs/applications/misc/robomongo/default.nix index 8b0ba581612..e0bb591ac28 100644 --- a/pkgs/applications/misc/robomongo/default.nix +++ b/pkgs/applications/misc/robomongo/default.nix @@ -9,7 +9,11 @@ stdenv.mkDerivation { }; patches = [ ./robomongo.patch ]; - + + postPatch = '' + rm ./cmake/FindOpenSSL.cmake # remove outdated bundled CMake file + ''; + NIX_CFLAGS_COMPILE = "-fno-stack-protector"; buildInputs = [ cmake boost scons qt5 openssl python pcre bzip2 ];