tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hiawatha: Don't ask cmake to install w/setuid perms
Will Dietz
8 years ago
5e9edcfe
7eaa7adf
+4
1 changed file
expand all
collapse all
unified
split
pkgs
servers
http
hiawatha
default.nix
+4
pkgs/servers/http/hiawatha/default.nix
···
21
21
22
22
buildInputs = [ cmake libxslt zlib libxml2 ] ++ stdenv.lib.optional enableSSL openssl ;
23
23
24
24
+
prePatch = ''
25
25
+
substituteInPlace CMakeLists.txt --replace SETUID ""
26
26
+
'';
27
27
+
24
28
cmakeFlags = [
25
29
( if enableSSL then "-DENABLE_TLS=on" else "-DENABLE_TLS=off" )
26
30
( if enableMonitor then "-DENABLE_MONITOR=on" else "-DENABLE_MONITOR=off" )