hiawatha: Don't ask cmake to install w/setuid perms
This commit is contained in:
parent
7eaa7adf4e
commit
5e9edcfebe
|
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ cmake libxslt zlib libxml2 ] ++ stdenv.lib.optional enableSSL openssl ;
|
buildInputs = [ cmake libxslt zlib libxml2 ] ++ stdenv.lib.optional enableSSL openssl ;
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace CMakeLists.txt --replace SETUID ""
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
( if enableSSL then "-DENABLE_TLS=on" else "-DENABLE_TLS=off" )
|
( if enableSSL then "-DENABLE_TLS=on" else "-DENABLE_TLS=off" )
|
||||||
( if enableMonitor then "-DENABLE_MONITOR=on" else "-DENABLE_MONITOR=off" )
|
( if enableMonitor then "-DENABLE_MONITOR=on" else "-DENABLE_MONITOR=off" )
|
||||||
|
|
Loading…
Reference in New Issue