bozohttpd: minor formatting
The Nix style guide isn't exactly comprehensive, but this at least seems slightly closer to the examples: https://nixos.org/manual/nixpkgs/stable/#sec-syntax I'm annoyed that nixpkgs-fmt as of writing won't accept: COPTS = [ # ... ] ++ optional (...) "..." ++ optional (...) "..."; ...which seems to be the actual convention, looking at eg. pkgs.nginx.
This commit is contained in:
parent
f4f05481e3
commit
ee4b583ae8
@ -45,12 +45,11 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ openssl ] ++ optional (luaSupport) lua;
|
buildInputs = [ openssl ] ++ optional (luaSupport) lua;
|
||||||
nativeBuildInputs = [ bmake groff ];
|
nativeBuildInputs = [ bmake groff ];
|
||||||
|
|
||||||
COPTS =
|
COPTS = [
|
||||||
[
|
|
||||||
"-D_DEFAULT_SOURCE"
|
"-D_DEFAULT_SOURCE"
|
||||||
"-D_GNU_SOURCE"
|
"-D_GNU_SOURCE"
|
||||||
|
|
||||||
# Ensure that we can serve >2GB files even on 32-bit systems.
|
# ensure that we can serve >2GB files even on 32-bit systems.
|
||||||
"-D_LARGEFILE_SOURCE"
|
"-D_LARGEFILE_SOURCE"
|
||||||
"-D_FILE_OFFSET_BITS=64"
|
"-D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user