summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-06-16 07:34:53 -0500
committerWill Dietz <w@wdtz.org>2017-06-16 07:34:53 -0500
commit5e9edcfebefb09fd208c195856b073a4e5769248 (patch)
tree4aea0806624878622af49a0d57a47382521817e5 /pkgs/servers/http
parent7eaa7adf4e7f3e32be85dcf3bd34ffd6b4cf23be (diff)
downloadnixlib-5e9edcfebefb09fd208c195856b073a4e5769248.tar
nixlib-5e9edcfebefb09fd208c195856b073a4e5769248.tar.gz
nixlib-5e9edcfebefb09fd208c195856b073a4e5769248.tar.bz2
nixlib-5e9edcfebefb09fd208c195856b073a4e5769248.tar.lz
nixlib-5e9edcfebefb09fd208c195856b073a4e5769248.tar.xz
nixlib-5e9edcfebefb09fd208c195856b073a4e5769248.tar.zst
nixlib-5e9edcfebefb09fd208c195856b073a4e5769248.zip
hiawatha: Don't ask cmake to install w/setuid perms
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/hiawatha/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/http/hiawatha/default.nix b/pkgs/servers/http/hiawatha/default.nix
index 26566b2281cc..c5dd9f7a577d 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" )