hiawatha: Don't ask cmake to install w/setuid perms

This commit is contained in:
Will Dietz 2017-06-16 07:34:53 -05:00
parent 7eaa7adf4e
commit 5e9edcfebe

View file

@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
buildInputs = [ cmake libxslt zlib libxml2 ] ++ stdenv.lib.optional enableSSL openssl ;
prePatch = ''
substituteInPlace CMakeLists.txt --replace SETUID ""
'';
cmakeFlags = [
( if enableSSL then "-DENABLE_TLS=on" else "-DENABLE_TLS=off" )
( if enableMonitor then "-DENABLE_MONITOR=on" else "-DENABLE_MONITOR=off" )