lol

treewide: Make more complicated configureFlags lists

+193 -190
+6 -7
pkgs/applications/audio/puredata/default.nix
··· 15 15 16 16 buildInputs = [ alsaLib libjack2 fftw ]; 17 17 18 - configureFlags = '' 19 - --enable-alsa 20 - --enable-jack 21 - --enable-fftw 22 - --disable-portaudio 23 - 24 - ''; 18 + configureFlags = [ 19 + "--enable-alsa" 20 + "--enable-jack" 21 + "--enable-fftw" 22 + "--disable-portaudio" 23 + ]; 25 24 26 25 # https://github.com/pure-data/pure-data/issues/188 27 26 # --disable-oss
+5 -5
pkgs/applications/editors/nano/default.nix
··· 32 32 33 33 outputs = [ "out" "info" ]; 34 34 35 - configureFlags = '' 36 - --sysconfdir=/etc 37 - ${optionalString (!enableNls) "--disable-nls"} 38 - ${optionalString enableTiny "--enable-tiny"} 39 - ''; 35 + configureFlags = [ 36 + "--sysconfdir=/etc" 37 + (stdenv.lib.enableFeature enableNls "nls") 38 + (stdenv.lib.enableFeature enableTiny "tiny") 39 + ]; 40 40 41 41 postInstall = '' 42 42 cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/
+4 -4
pkgs/applications/misc/lilyterm/default.nix
··· 40 40 41 41 preConfigure = "sh autogen.sh"; 42 42 43 - configureFlags = '' 44 - --enable-nls 45 - --enable-safe-mode 46 - ''; 43 + configureFlags = [ 44 + "--enable-nls" 45 + "--enable-safe-mode" 46 + ]; 47 47 48 48 meta = with stdenv.lib; { 49 49 description = "A fast, lightweight terminal emulator";
+8 -8
pkgs/applications/science/chemistry/octopus/default.nix
··· 17 17 nativeBuildInputs = [ perl procps fftw.dev ]; 18 18 buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out netcdf arpack ]; 19 19 20 - configureFlags = '' 21 - --with-yaml-prefix=${libyaml} 22 - --with-blas=-lopenblas 23 - --with-lapack=-lopenblas 24 - --with-fftw-prefix=${fftwAll} 25 - --with-gsl-prefix=${gsl} 26 - --with-libxc-prefix=${libxc} 27 - ''; 20 + configureFlags = [ 21 + "--with-yaml-prefix=${libyaml}" 22 + "--with-blas=-lopenblas" 23 + "--with-lapack=-lopenblas" 24 + "--with-fftw-prefix=${fftwAll}" 25 + "--with-gsl-prefix=${gsl}" 26 + "--with-libxc-prefix=${libxc}" 27 + ]; 28 28 29 29 doCheck = false; 30 30 checkTarget = "check-short";
+13 -11
pkgs/applications/version-management/subversion/default.nix
··· 42 42 # https://gcc.gnu.org/gcc-5/porting_to.html 43 43 CPPFLAGS = "-P"; 44 44 45 - configureFlags = '' 46 - ${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"} 47 - ${if httpServer then "--with-apxs=${apacheHttpd.dev}/bin/apxs" else "--without-apxs"} 48 - ${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"} 49 - ${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""} 50 - --disable-keychain 51 - ${if saslSupport then "--with-sasl=${sasl}" else "--without-sasl"} 52 - ${if httpSupport then "--with-serf=${serf}" else "--without-serf"} 53 - --with-zlib=${zlib.dev} 54 - --with-sqlite=${sqlite.dev} 55 - ''; 45 + configureFlags = [ 46 + (stdenv.lib.withFeature bdbSupport "berkeley-db") 47 + (stdenv.lib.withFeatureAs httpServer "apxs" "${apacheHttpd.dev}/bin/apxs") 48 + (stdenv.lib.withFeatureAs (pythonBindings || perlBindings) "swig" swig) 49 + (stdenv.lib.withFeatureAs saslSupport "sasl" sasl) 50 + (stdenv.lib.withFeatureAs httpSupport "serf" serf) 51 + "--disable-keychain" 52 + "--with-zlib=${zlib.dev}" 53 + "--with-sqlite=${sqlite.dev}" 54 + ] ++ stdenv.lib.optionals javahlBindings [ 55 + "--enable-javahl" 56 + "--with-jdk=${jdk}" 57 + ]; 56 58 57 59 preBuild = '' 58 60 makeFlagsArray=(APACHE_LIBEXECDIR=$out/modules)
+3 -3
pkgs/desktops/gnome-2/desktop/vte/default.nix
··· 32 32 buildInputs = [ intltool glib gtk ncurses ] ++ 33 33 stdenv.lib.optionals pythonSupport [python pygtk]; 34 34 35 - configureFlags = '' 36 - ${if pythonSupport then "--enable-python" else "--disable-python"} 37 - ''; 35 + configureFlags = [ 36 + (stdenv.lib.enableFeature pythonSupport "python") 37 + ]; 38 38 39 39 postInstall = stdenv.lib.optionalString pythonSupport '' 40 40 cd $(toPythonPath $out)/gtk-2.0
+1 -1
pkgs/development/interpreters/scsh/default.nix
··· 12 12 13 13 nativeBuildInputs = [ autoreconfHook ]; 14 14 buildInputs = [ scheme48 ]; 15 - configureFlags = ''--with-scheme48=${scheme48}''; 15 + configureFlags = [ "--with-scheme48=${scheme48}" ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "A Scheme shell";
+3 -3
pkgs/development/libraries/classads/default.nix
··· 12 12 13 13 buildInputs = [ pcre ]; 14 14 15 - configureFlags = '' 16 - --enable-namespace --enable-flexible-member 17 - ''; 15 + configureFlags = [ 16 + "--enable-namespace" "--enable-flexible-member" 17 + ]; 18 18 19 19 meta = { 20 20 homepage = http://www.cs.wisc.edu/condor/classad/;
+7 -3
pkgs/development/libraries/gstreamer/legacy/gstreamer/default.nix
··· 26 26 patch -p1 < ${./darwin.patch} 27 27 ''; 28 28 29 - configureFlags = '' 30 - --disable-examples --enable-failing-tests --localstatedir=/var --disable-gtk-doc --disable-docbook 31 - ''; 29 + configureFlags = [ 30 + "--disable-examples" 31 + "--enable-failing-tests" 32 + "--localstatedir=/var" 33 + "--disable-gtk-doc" 34 + "--disable-docbook" 35 + ]; 32 36 33 37 postInstall = '' 34 38 # Hm, apparently --disable-gtk-doc is ignored...
+6 -3
pkgs/development/libraries/ilixi/default.nix
··· 14 14 nativeBuildInputs = [ pkgconfig ]; 15 15 buildInputs = [ directfb libsigcxx libxml2 fontconfig ]; 16 16 17 - configureFlags = '' 18 - --enable-log-debug --enable-debug --enable-trace --with-examples 19 - ''; 17 + configureFlags = [ 18 + "--enable-log-debug" 19 + "--enable-debug" 20 + "--enable-trace" 21 + "--with-examples" 22 + ]; 20 23 21 24 meta = with stdenv.lib; { 22 25 description = "Lightweight C++ GUI toolkit for embedded Linux systems";
+8 -9
pkgs/development/libraries/libinfinity/default.nix
··· 7 7 , libintl }: 8 8 9 9 let 10 - edf = flag: feature: (if flag then "--with-" else "--without-") + feature; 11 10 optional = cond: elem: assert cond -> elem != null; if cond then [elem] else []; 12 11 13 12 in stdenv.mkDerivation rec { ··· 28 27 29 28 propagatedBuildInputs = [ gnutls ]; 30 29 31 - configureFlags = '' 32 - ${if documentation then "--enable-gtk-doc" else "--disable-gtk-doc"} 33 - ${edf gtkWidgets "inftextgtk"} 34 - ${edf gtkWidgets "infgtk"} 35 - ${edf daemon "infinoted"} 36 - ${edf daemon "libdaemon"} 37 - ${edf avahiSupport "avahi"} 38 - ''; 30 + configureFlags = [ 31 + (stdenv.lib.enableFeature documentation "gtk-doc") 32 + (stdenv.lib.withFeature gtkWidgets "inftextgtk") 33 + (stdenv.lib.withFeature gtkWidgets "infgtk") 34 + (stdenv.lib.withFeature daemon "infinoted") 35 + (stdenv.lib.withFeature daemon "libdaemon") 36 + (stdenv.lib.withFeature avahiSupport "avahi") 37 + ]; 39 38 40 39 passthru = { 41 40 inherit version;
+6 -7
pkgs/development/libraries/neon/0.29.nix
··· 28 28 buildInputs = [libxml2 openssl] 29 29 ++ stdenv.lib.optional compressionSupport zlib; 30 30 31 - configureFlags = '' 32 - ${if shared then "--enable-shared" else "--disable-shared"} 33 - ${if static then "--enable-static" else "--disable-static"} 34 - ${if compressionSupport then "--with-zlib" else "--without-zlib"} 35 - ${if sslSupport then "--with-ssl" else "--without-ssl"} 36 - --enable-shared 37 - ''; 31 + configureFlags = [ 32 + (stdenv.lib.enableFeature shared "shared") 33 + (stdenv.lib.enableFeature static "static") 34 + (stdenv.lib.withFeature compressionSupport "zlib") 35 + (stdenv.lib.withFeature sslSupport "ssl") 36 + ]; 38 37 39 38 passthru = {inherit compressionSupport sslSupport;}; 40 39
+6 -7
pkgs/development/libraries/neon/default.nix
··· 28 28 buildInputs = [libxml2 openssl] 29 29 ++ stdenv.lib.optional compressionSupport zlib; 30 30 31 - configureFlags = '' 32 - ${if shared then "--enable-shared" else "--disable-shared"} 33 - ${if static then "--enable-static" else "--disable-static"} 34 - ${if compressionSupport then "--with-zlib" else "--without-zlib"} 35 - ${if sslSupport then "--with-ssl" else "--without-ssl"} 36 - --enable-shared 37 - ''; 31 + configureFlags = [ 32 + (stdenv.lib.enableFeature shared "shared") 33 + (stdenv.lib.enableFeature static "static") 34 + (stdenv.lib.withFeature compressionSupport "zlib") 35 + (stdenv.lib.withFeature sslSupport "ssl") 36 + ]; 38 37 39 38 passthru = {inherit compressionSupport sslSupport;}; 40 39
+7 -7
pkgs/development/libraries/tix/default.nix
··· 34 34 ln -s $i private_headers/generic; 35 35 done; 36 36 ''; 37 - configureFlags = '' 38 - --with-tclinclude=${tcl}/include 39 - --with-tclconfig=. 40 - --with-tkinclude=${tk.dev}/include 41 - --with-tkconfig=. 42 - --libdir=''${prefix}/lib 43 - ''; 37 + configureFlags = [ 38 + "--with-tclinclude=${tcl}/include" 39 + "--with-tclconfig=." 40 + "--with-tkinclude=${tk.dev}/include" 41 + "--with-tkconfig=." 42 + "--libdir=\${prefix}/lib" 43 + ]; 44 44 45 45 meta = with stdenv.lib; { 46 46 description = "A widget library for Tcl/Tk";
+8 -11
pkgs/development/tools/misc/dialog/default.nix
··· 1 1 { stdenv, fetchurl, ncurses 2 2 , withLibrary ? false, libtool 3 3 , unicodeSupport ? true 4 + , enableShared ? !stdenv.isDarwin 4 5 }: 5 - 6 - let optStr = stdenv.lib.optionalString; 7 - buildShared = !stdenv.isDarwin; 8 - in 9 6 10 7 assert withLibrary -> libtool != null; 11 8 assert unicodeSupport -> ncurses.unicode && ncurses != null; ··· 24 21 25 22 buildInputs = [ ncurses ]; 26 23 27 - configureFlags = '' 28 - --disable-rpath-hacks 29 - ${optStr withLibrary "--with-libtool"} 30 - --with-libtool-opts=${optStr buildShared "-shared"} 31 - --with-ncurses${optStr unicodeSupport "w"} 32 - ''; 24 + configureFlags = [ 25 + "--disable-rpath-hacks" 26 + (stdenv.lib.withFeature withLibrary "libtool") 27 + "--with-ncurses${stdenv.lib.optionalString unicodeSupport "w"}" 28 + "--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}" 29 + ]; 33 30 34 - installTargets = "install${optStr withLibrary "-full"}"; 31 + installTargets = "install${stdenv.lib.optionalString withLibrary "-full"}"; 35 32 36 33 meta = { 37 34 homepage = http://invisible-island.net/dialog/dialog.html;
+3 -3
pkgs/misc/jackaudio/jack1.nix
··· 22 22 sha256 = "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"; 23 23 }; 24 24 25 - configureFlags = '' 26 - ${if (optLibffado != null) then "--enable-firewire" else ""} 27 - ''; 25 + configureFlags = [ 26 + (stdenv.lib.enableFeature (optLibffado != null) "firewire") 27 + ]; 28 28 29 29 nativeBuildInputs = [ pkgconfig ]; 30 30 buildInputs = [ optAlsaLib optDb optLibffado optCelt ];
+3 -3
pkgs/os-specific/linux/alsa-firmware/default.nix
··· 8 8 sha256 = "0gfcyj5anckjn030wcxx5v2xk2s219nyf99s9m833275b5wz2piw"; 9 9 }; 10 10 11 - configureFlags = '' 12 - --with-hotplug-dir=$(out)/lib/firmware 13 - ''; 11 + configureFlags = [ 12 + "--with-hotplug-dir=$(out)/lib/firmware" 13 + ]; 14 14 15 15 dontStrip = true; 16 16
+13 -13
pkgs/os-specific/linux/ipsec-tools/default.nix
··· 28 28 # fix build with newer gcc versions 29 29 preConfigure = ''substituteInPlace configure --replace "-Werror" "" ''; 30 30 31 - configureFlags = '' 32 - --sysconfdir=/etc --localstatedir=/var 33 - --with-kernel-headers=${linuxHeaders}/include 34 - --disable-security-context 35 - --enable-adminport 36 - --enable-dpd 37 - --enable-frag 38 - --enable-gssapi 39 - --enable-hybrid 40 - --enable-natt 41 - --enable-shared 42 - --enable-stats 43 - ''; 31 + configureFlags = [ 32 + "--sysconfdir=/etc --localstatedir=/var" 33 + "--with-kernel-headers=${linuxHeaders}/include" 34 + "--disable-security-context" 35 + "--enable-adminport" 36 + "--enable-dpd" 37 + "--enable-frag" 38 + "--enable-gssapi" 39 + "--enable-hybrid" 40 + "--enable-natt" 41 + "--enable-shared" 42 + "--enable-stats" 43 + ]; 44 44 45 45 meta = { 46 46 homepage = http://ipsec-tools.sourceforge.net/;
+4 -4
pkgs/os-specific/linux/iptables/default.nix
··· 18 18 export NIX_LDFLAGS="$NIX_LDFLAGS -lmnl -lnftnl" 19 19 ''; 20 20 21 - configureFlags = '' 22 - --enable-devel 23 - --enable-shared 24 - ''; 21 + configureFlags = [ 22 + "--enable-devel" 23 + "--enable-shared" 24 + ]; 25 25 26 26 outputs = [ "out" "dev" ]; 27 27
+26 -20
pkgs/servers/http/apache-httpd/2.4.nix
··· 47 47 configureFlags="$configureFlags --includedir=$dev/include" 48 48 ''; 49 49 50 - configureFlags = '' 51 - --with-apr=${apr.dev} 52 - --with-apr-util=${aprutil.dev} 53 - --with-z=${zlib.dev} 54 - --with-pcre=${pcre.dev} 55 - --disable-maintainer-mode 56 - --disable-debugger-mode 57 - --enable-mods-shared=all 58 - --enable-mpms-shared=all 59 - --enable-cern-meta 60 - --enable-imagemap 61 - --enable-cgi 62 - ${optionalString brotliSupport "--enable-brotli --with-brotli=${brotli}"} 63 - ${optionalString proxySupport "--enable-proxy"} 64 - ${optionalString sslSupport "--enable-ssl"} 65 - ${optionalString http2Support "--enable-http2 --with-nghttp2"} 66 - ${optionalString luaSupport "--enable-lua --with-lua=${lua5}"} 67 - ${optionalString libxml2Support "--with-libxml2=${libxml2.dev}/include/libxml2"} 68 - --docdir=$(doc)/share/doc 69 - ''; 50 + configureFlags = [ 51 + "--with-apr=${apr.dev}" 52 + "--with-apr-util=${aprutil.dev}" 53 + "--with-z=${zlib.dev}" 54 + "--with-pcre=${pcre.dev}" 55 + "--disable-maintainer-mode" 56 + "--disable-debugger-mode" 57 + "--enable-mods-shared=all" 58 + "--enable-mpms-shared=all" 59 + "--enable-cern-meta" 60 + "--enable-imagemap" 61 + "--enable-cgi" 62 + (stdenv.lib.enableFeature proxySupport "proxy") 63 + (stdenv.lib.enableFeature sslSupport "ssl") 64 + (stdenv.lib.withFeatureAs libxml2Support "libxml2" "${libxml2.dev}/include/libxml2") 65 + "--docdir=$(doc)/share/doc" 66 + 67 + (stdenv.lib.enableFeature brotliSupport "brotli") 68 + (stdenv.lib.withFeatureAs brotliSupport "brotli" brotli) 69 + 70 + (stdenv.lib.enableFeature http2Support "http2") 71 + (stdenv.lib.withFeature http2Support "nghttp2") 72 + 73 + (stdenv.lib.enableFeature luaSupport "lua") 74 + (stdenv.lib.withFeatureAs luaSupport "lua" lua5) 75 + ]; 70 76 71 77 enableParallelBuilding = true; 72 78
+3 -3
pkgs/servers/http/couchdb/default.nix
··· 25 25 26 26 If you wish to ignore this error pass --enable-js-trunk to ./configure. 27 27 */ 28 - configureFlags = '' 29 - --enable-js-trunk 30 - ''; 28 + configureFlags = [ 29 + "--enable-js-trunk" 30 + ]; 31 31 32 32 meta = with stdenv.lib; { 33 33 description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API";
+5 -5
pkgs/servers/shairport-sync/default.nix
··· 27 27 28 28 enableParallelBuilding = true; 29 29 30 - configureFlags = '' 31 - --with-alsa --with-pipe --with-pulseaudio --with-stdout 32 - --with-avahi --with-ssl=openssl --with-soxr 33 - --without-configfiles --without-initscript 34 - ''; 30 + configureFlags = [ 31 + "--with-alsa" "--with-pipe" "--with-pulseaudio" "--with-stdout" 32 + "--with-avahi" "--with-ssl=openssl" "--with-soxr" 33 + "--without-configfiles" "--without-initscript" 34 + ]; 35 35 36 36 meta = with stdenv.lib; { 37 37 inherit (src.meta) homepage;
+6 -6
pkgs/tools/misc/urjtag/default.nix
··· 21 21 buildInputs = [ gettext autoconf automake libtool bison flex which 22 22 subversion makeWrapper readline libftdi libusb python3 ]; 23 23 24 - configureFlags = '' 25 - ${if svfSupport then "--enable-svf" else "--disable-svf"} 26 - ${if bsdlSupport then "--enable-bsdl" else "--disable-bsdl"} 27 - ${if staplSupport then "--enable-stapl" else "--disable-stapl"} 28 - ${if jedecSupport then "--enable-jedec-exp" else "--disable-jedec-exp"} 29 - ''; 24 + configureFlags = [ 25 + (stdenv.lib.enableFeature svfSupport "svf") 26 + (stdenv.lib.enableFeature bsdlSupport "bsdl") 27 + (stdenv.lib.enableFeature staplSupport "stapl") 28 + (stdenv.lib.enableFeature jedecSupport "jedec-exp") 29 + ]; 30 30 31 31 preConfigure = "./autogen.sh"; 32 32
+10 -13
pkgs/tools/networking/p2p/amule/default.nix
··· 8 8 assert httpServer -> libpng != null; 9 9 assert client -> libX11 != null; 10 10 with stdenv; 11 - let 12 - # Enable/Disable Feature 13 - edf = enabled: flag: if enabled then "--enable-" + flag else "--disable-" + flag; 14 - in 11 + 15 12 mkDerivation rec { 16 13 name = "aMule-2.3.2"; 17 14 ··· 27 24 28 25 enableParallelBuilding = true; 29 26 30 - configureFlags = '' 31 - --with-crypto-prefix=${cryptopp} 32 - --disable-debug 33 - --enable-optimize 34 - ${edf monolithic "monolithic"} 35 - ${edf daemon "amule-daemon"} 36 - ${edf client "amule-gui"} 37 - ${edf httpServer "webserver"} 38 - ''; 27 + configureFlags = [ 28 + "--with-crypto-prefix=${cryptopp}" 29 + "--disable-debug" 30 + "--enable-optimize" 31 + (stdenv.lib.enableFeature monolithic "monolithic") 32 + (stdenv.lib.enableFeature daemon "amule-daemon") 33 + (stdenv.lib.enableFeature client "amule-gui") 34 + (stdenv.lib.enableFeature httpServer "webserver") 35 + ]; 39 36 40 37 postConfigure = '' 41 38 sed -i "src/libs/ec/file_generator.pl" \
+5 -4
pkgs/tools/networking/vtun/default.nix
··· 20 20 ''; 21 21 buildInputs = [ lzo openssl zlib yacc flex ]; 22 22 23 - configureFlags = '' 24 - --with-lzo-headers=${lzo}/include/lzo 25 - --with-ssl-headers=${openssl.dev}/include/openssl 26 - --with-blowfish-headers=${openssl.dev}/include/openssl''; 23 + configureFlags = [ 24 + "--with-lzo-headers=${lzo}/include/lzo" 25 + "--with-ssl-headers=${openssl.dev}/include/openssl" 26 + "--with-blowfish-headers=${openssl.dev}/include/openssl" 27 + ]; 27 28 28 29 meta = with stdenv.lib; { 29 30 description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
+13 -16
pkgs/tools/security/fwknop/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, lib 1 + { stdenv, fetchFromGitHub, autoreconfHook 2 2 , libpcap, texinfo 3 3 , iptables 4 4 , gnupgSupport ? true, gnupg, gpgme # Increases dependencies! ··· 23 23 ++ stdenv.lib.optional gnupgSupport [ gnupg gpgme.dev ] 24 24 ++ stdenv.lib.optional wgetSupport [ wget ]; 25 25 26 - configureFlags = '' 27 - --sysconfdir=/etc 28 - --localstatedir=/run 29 - --with-iptables=${iptables}/sbin/iptables 30 - ${lib.optionalString (!buildServer) "--disable-server"} 31 - ${lib.optionalString (!buildClient) "--disable-client"} 32 - ${lib.optionalString gnupgSupport '' 33 - --with-gpgme 34 - --with-gpgme-prefix=${gpgme.dev} 35 - --with-gpg=${gnupg} 36 - ''} 37 - ${lib.optionalString wgetSupport '' 38 - --with-wget=${wget}/bin/wget 39 - ''} 40 - ''; 26 + configureFlags = [ 27 + "--sysconfdir=/etc" 28 + "--localstatedir=/run" 29 + "--with-iptables=${iptables}/sbin/iptables" 30 + (stdenv.lib.enableFeature buildServer "server") 31 + (stdenv.lib.enableFeature buildClient "client") 32 + (stdenv.lib.withFeatureAs wgetSupport wget "${wget}/bin/wget") 33 + ] ++ stdenv.lib.optionalString gnupgSupport [ 34 + "--with-gpgme" 35 + "--with-gpgme-prefix=${gpgme.dev}" 36 + "--with-gpg=${gnupg}" 37 + ]; 41 38 42 39 # Temporary hack to copy the example configuration files into the nix-store, 43 40 # this'll probably be helpful until there's a NixOS module for that (feel free
+11 -11
pkgs/tools/security/modsecurity/default.nix
··· 22 22 buildInputs = [ curl apacheHttpd pcre apr aprutil libxml2 ] ++ 23 23 optional luaSupport lua5; 24 24 25 - configureFlags = '' 26 - --enable-standalone-module 27 - --enable-static 28 - --with-curl=${curl.dev} 29 - --with-apxs=${apacheHttpd.dev}/bin/apxs 30 - --with-pcre=${pcre.dev} 31 - --with-apr=${apr.dev} 32 - --with-apu=${aprutil.dev}/bin/apu-1-config 33 - --with-libxml=${libxml2.dev} 34 - --with-lua=${luaValue} 35 - ''; 25 + configureFlags = [ 26 + "--enable-standalone-module" 27 + "--enable-static" 28 + "--with-curl=${curl.dev}" 29 + "--with-apxs=${apacheHttpd.dev}/bin/apxs" 30 + "--with-pcre=${pcre.dev}" 31 + "--with-apr=${apr.dev}" 32 + "--with-apu=${aprutil.dev}/bin/apu-1-config" 33 + "--with-libxml=${libxml2.dev}" 34 + "--with-lua=${luaValue}" 35 + ]; 36 36 37 37 outputs = ["out" "nginx"]; 38 38 # by default modsecurity's install script copies compiled output to httpd's modules folder