diff options
author | Will Dietz <w@wdtz.org> | 2017-06-16 07:34:53 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2017-06-16 07:34:53 -0500 |
commit | 5e9edcfebefb09fd208c195856b073a4e5769248 (patch) | |
tree | 4aea0806624878622af49a0d57a47382521817e5 /pkgs/servers/http/hiawatha | |
parent | 7eaa7adf4e7f3e32be85dcf3bd34ffd6b4cf23be (diff) |
hiawatha: Don't ask cmake to install w/setuid perms
Diffstat (limited to 'pkgs/servers/http/hiawatha')
-rw-r--r-- | pkgs/servers/http/hiawatha/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/http/hiawatha/default.nix b/pkgs/servers/http/hiawatha/default.nix index 26566b2281ccf..c5dd9f7a577da 100644 --- a/pkgs/servers/http/hiawatha/default.nix +++ b/pkgs/servers/http/hiawatha/default.nix @@ -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" ) |