mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
Merge pull request #44423 from obsidiansystems/configureFlags-cleanup
treewide: All configureFlags are lists
This commit is contained in:
commit
7a337cde31
@ -64,7 +64,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "1ian3kwh2vg6hr3ymrv48s04gijs539vzrq62xr76bxbhbwnz2np";
|
||||
};
|
||||
inherit noSysDirs;
|
||||
configureFlags = "--target=arm-linux";
|
||||
configureFlags = [ "--target=arm-linux" ];
|
||||
}
|
||||
---
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ intltool gtk2 alsaLib libglade ];
|
||||
|
||||
configureFlags = "--disable-jack";
|
||||
configureFlags = [ "--disable-jack" ];
|
||||
|
||||
meta = {
|
||||
description = "Not a Guitar-Only tuner";
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
pkgconfig libpulseaudio makeWrapper
|
||||
];
|
||||
|
||||
configureFlags = "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa";
|
||||
configureFlags = [ "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/mhwaveedit \
|
||||
|
@ -15,13 +15,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ alsaLib libjack2 fftw ];
|
||||
|
||||
configureFlags = ''
|
||||
--enable-alsa
|
||||
--enable-jack
|
||||
--enable-fftw
|
||||
--disable-portaudio
|
||||
|
||||
'';
|
||||
configureFlags = [
|
||||
"--enable-alsa"
|
||||
"--enable-jack"
|
||||
"--enable-fftw"
|
||||
"--disable-portaudio"
|
||||
];
|
||||
|
||||
# https://github.com/pure-data/pure-data/issues/188
|
||||
# --disable-oss
|
||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
export ac_cv_prog_ac_ct_WINDRES=
|
||||
'';
|
||||
|
||||
configureFlags = "--enable-dependency-tracking";
|
||||
configureFlags = [ "--enable-dependency-tracking" ];
|
||||
|
||||
buildInputs = [ alsaLib python SDL ];
|
||||
|
||||
|
@ -10,9 +10,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ flac lame zlib libjpeg libvorbis libtheora libxml2 lzo
|
||||
libdvdread pkgconfig x264 libmpeg2 xvidcore ];
|
||||
configureFlags = "--disable-ffmpeg --disable-libavcodec --disable-libavformat
|
||||
--enable-lzo --enable-ogg --enable-vorbis --enable-theora --enable-libxml2
|
||||
--enable-x264 --enable-libmpeg2 --enable-xvid";
|
||||
configureFlags = [
|
||||
"--disable-ffmpeg" "--disable-libavcodec" "--disable-libavformat"
|
||||
"--enable-lzo" "--enable-ogg" "--enable-vorbis" "--enable-theora" "--enable-libxml2"
|
||||
"--enable-x264" "--enable-libmpeg2" "--enable-xvid"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
configureFlags = "--ioctl=termios";
|
||||
configureFlags = [ "--ioctl=termios" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://elvis.vi-editor.org/;
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
patches = [ ./install-infodir.patch ];
|
||||
|
||||
buildInputs = [emacs texinfo ctags];
|
||||
configureFlags = "--with-package-dir=$$out/share/emacs/site-lisp";
|
||||
configureFlags = [ "--with-package-dir=$$out/share/emacs/site-lisp" ];
|
||||
preInstall = "mkdir -p $out/info";
|
||||
installTargets = "install-pkg texinfo";
|
||||
postInstall = ''
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [emacs];
|
||||
configureFlags = "--with-lispdir=$$out/share/emacs/site-lisp";
|
||||
configureFlags = [ "--with-lispdir=$$out/share/emacs/site-lisp" ];
|
||||
|
||||
meta = {
|
||||
description = "Emacs mode for the programming language Maude";
|
||||
|
@ -18,9 +18,6 @@ in stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gtkmm2 gsasl gtksourceview libxmlxx libinf intltool ]
|
||||
++ stdenv.lib.optional gnomeSupport gnome_vfs;
|
||||
|
||||
configureFlags = ''
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://gobby.0x539.de/;
|
||||
|
@ -32,11 +32,11 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
configureFlags = ''
|
||||
--sysconfdir=/etc
|
||||
${optionalString (!enableNls) "--disable-nls"}
|
||||
${optionalString enableTiny "--enable-tiny"}
|
||||
'';
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
(stdenv.lib.enableFeature enableNls "nls")
|
||||
(stdenv.lib.enableFeature enableTiny "tiny")
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/
|
||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = ''
|
||||
NOCONFIGURE=1 ./autogen.sh # autoreconfHook is not enough
|
||||
'';
|
||||
configureFlags = stdenv.lib.optionalString withGNOME "--enable-gnome";
|
||||
configureFlags = stdenv.lib.optional withGNOME "--enable-gnome";
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ automake pkgconfig gettext perl zip ];
|
||||
buildInputs = [ wxGTK gtk2 libxml2 freetype pango ];
|
||||
|
||||
configureFlags = "--disable-svnversion";
|
||||
configureFlags = [ "--disable-svnversion" ];
|
||||
|
||||
patches = map fetchurl (import ./debian-patches.nix);
|
||||
|
||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
xorg.libX11 xorg.libXext xorg.libXinerama jansson
|
||||
];
|
||||
configureScript = "./autogen.sh";
|
||||
configureFlags = "--enable-scrypt --enable-opencl";
|
||||
configureFlags = [ "--enable-scrypt" "--enable-opencl" ];
|
||||
NIX_LDFLAGS = "-lgcc_s -lX11 -lXext -lXinerama";
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
configureFlags = "--with-ssl=${openssl.dev}";
|
||||
configureFlags = [ "--with-ssl=${openssl.dev}" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.fetchmail.info/;
|
||||
|
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace configure --replace "/usr/bin/file" "${file}/bin/file"
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-pycompile";
|
||||
configureFlags = [ "--disable-pycompile" ];
|
||||
|
||||
meta = {
|
||||
homepage = https://fontmanager.github.io/;
|
||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i -e 's|/usr/bin/x-terminal-emulator|-l gnome-terminal|g' gksu.desktop
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-nautilus-extension";
|
||||
configureFlags = [ "--disable-nautilus-extension" ];
|
||||
|
||||
meta = {
|
||||
description = "A graphical frontend for libgksu";
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ db gtk2 bzip2 ];
|
||||
|
||||
configureFlags = "--without-libdb";
|
||||
configureFlags = [ "--without-libdb" ];
|
||||
|
||||
meta = {
|
||||
description = "Download utility that can fetch files from several sources simultaneously";
|
||||
|
@ -40,10 +40,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = "sh autogen.sh";
|
||||
|
||||
configureFlags = ''
|
||||
--enable-nls
|
||||
--enable-safe-mode
|
||||
'';
|
||||
configureFlags = [
|
||||
"--enable-nls"
|
||||
"--enable-safe-mode"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A fast, lightweight terminal emulator";
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
gnome3.gsettings-desktop-schemas
|
||||
];
|
||||
|
||||
configureFlags = "--libexecdir=$(out)/bin";
|
||||
configureFlags = [ "--libexecdir=$(out)/bin" ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/notify-osd" \
|
||||
|
@ -44,12 +44,12 @@ stdenv.mkDerivation rec {
|
||||
HOME=$TMPDIR
|
||||
'';
|
||||
|
||||
configureFlags = "
|
||||
--without-arts --disable-docs
|
||||
--x-includes=${libX11.dev}/include
|
||||
--x-libraries=${libX11.out}/lib
|
||||
--with-qt-dir=${qt3}
|
||||
";
|
||||
configureFlags = [
|
||||
"--without-arts" "--disable-docs"
|
||||
"--x-includes=${libX11.dev}/include"
|
||||
"--x-libraries=${libX11.out}/lib"
|
||||
"--with-qt-dir=${qt3}"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/share/emacs/site-lisp/
|
||||
|
@ -17,8 +17,10 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
# Needs the path to `tclConfig.sh' and `tkConfig.sh'.
|
||||
configureFlags = "--with-tcl=" + tcl + "/lib " +
|
||||
"--with-tk=" + tk + "/lib";
|
||||
configureFlags = [
|
||||
"--with-tcl=${tcl}/lib"
|
||||
"--with-tk=${tk}/lib"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/wishwn --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}"
|
||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = with stdenv.lib;
|
||||
[ perl fltk openssl libjpeg libpng libXcursor libXi libXinerama ];
|
||||
|
||||
configureFlags = "--enable-ssl";
|
||||
configureFlags = [ "--enable-ssl" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.dillo.org/;
|
||||
|
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ flex bison libpcap libdnet libnfnetlink libnetfilter_queue];
|
||||
|
||||
configureFlags = "--enable-nfq-module=yes --with-dnet-includes=${libdnet}/includes --with-dnet-libraries=${libdnet}/lib";
|
||||
configureFlags = [
|
||||
"--enable-nfq-module=yes"
|
||||
"--with-dnet-includes=${libdnet}/includes"
|
||||
"--with-dnet-libraries=${libdnet}/lib"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Data AcQuisition library (DAQ), for packet I/O";
|
||||
|
@ -14,7 +14,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = "--disable-static-daq --enable-control-socket --with-daq-includes=${daq}/includes --with-daq-libraries=${daq}/lib";
|
||||
configureFlags = [
|
||||
"--disable-static-daq"
|
||||
"--enable-control-socket"
|
||||
"--with-daq-includes=${daq}/includes"
|
||||
"--with-daq-libraries=${daq}/lib"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/snort --add-flags "--daq-dir ${daq}/lib/daq --dynamic-preprocessor-lib-dir $out/lib/snort_dynamicpreprocessor/ --dynamic-engine-lib-dir $out/lib/snort_dynamicengine"
|
||||
|
@ -7,7 +7,11 @@ stdenv.mkDerivation {
|
||||
sha256 = "0b8ir7spxnsz8f7kvr9f1k91nsy8cb65q6jv2l55b04fl20x4z7r";
|
||||
};
|
||||
|
||||
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --enable-static";
|
||||
configureFlags = [
|
||||
"--with-tcl=${tcl}/lib"
|
||||
"--with-tk=${tk}/lib"
|
||||
"--enable-static"
|
||||
];
|
||||
|
||||
buildInputs = [which tcl tk xlibsWrapper libpng libjpeg makeWrapper];
|
||||
|
||||
|
@ -14,7 +14,11 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ openssl ncurses glib loudmouth libotr gpgme ];
|
||||
|
||||
configureFlags = "--with-openssl=${openssl.dev} --enable-modules --enable-otr";
|
||||
configureFlags = [
|
||||
"--with-openssl=${openssl.dev}"
|
||||
"--enable-modules"
|
||||
"--enable-otr"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = "--with-ncurses=${ncurses.dev}";
|
||||
configureFlags = [ "--with-ncurses=${ncurses.dev}" ];
|
||||
|
||||
preConfigure = stdenv.lib.optionalString enablePlugin ''
|
||||
configureFlags="$configureFlags --with-silc-plugin=$out/lib/irssi"
|
||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
checkInputs = [ dbus.daemon ];
|
||||
|
||||
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt";
|
||||
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
doCheck = true;
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
dbus telepathy-glib.python
|
||||
];
|
||||
|
||||
configureFlags = "--enable-call";
|
||||
configureFlags = [ "--enable-call" ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/libexec/telepathy-logger" \
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ libxslt pkgconfigUpstream ];
|
||||
|
||||
configureFlags = "--disable-avahi-tests";
|
||||
configureFlags = [ "--disable-avahi-tests" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Link-local XMPP connection manager for Telepathy";
|
||||
|
@ -18,7 +18,10 @@ stdenv.mkDerivation {
|
||||
-e "s|/bin/rm|rm|"
|
||||
'';
|
||||
|
||||
configureFlags = "--with-slang=${slang.dev} --with-ssl=${openssl.dev}";
|
||||
configureFlags = [
|
||||
"--with-slang=${slang.dev}"
|
||||
"--with-ssl=${openssl.dev}"
|
||||
];
|
||||
|
||||
buildInputs = [ slang ncurses openssl ];
|
||||
|
||||
|
@ -24,10 +24,13 @@ stdenv.mkDerivation rec {
|
||||
++ optional withTcl tcl
|
||||
++ optional withCyrus cyrus_sasl;
|
||||
|
||||
configureFlags = optionalString withPerl "--enable-perl "
|
||||
+ optionalString withPython "--enable-python "
|
||||
+ optionalString withTcl "--enable-tcl --with-tcl=${tcl}/lib "
|
||||
+ optionalString withCyrus "--enable-cyrus ";
|
||||
configureFlags = [
|
||||
(stdenv.lib.enableFeature withPerl "perl")
|
||||
(stdenv.lib.enableFeature withPython "python")
|
||||
(stdenv.lib.enableFeature withTcl "tcl")
|
||||
(stdenv.lib.withFeatureAs withTcl "tcl" "${tcl}/lib")
|
||||
(stdenv.lib.enableFeature withCyrus "cyrus")
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Advanced IRC bouncer";
|
||||
|
@ -27,7 +27,13 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
propagatedUserEnvPkgs = [ gconf ];
|
||||
|
||||
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3 --disable-dbi --enable-ofx --enable-aqbanking";
|
||||
configureFlags = [
|
||||
"CFLAGS=-O3"
|
||||
"CXXFLAGS=-O3"
|
||||
"--disable-dbi"
|
||||
"--enable-ofx"
|
||||
"--enable-aqbanking"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# Auto-updaters don't make sense in Nix.
|
||||
|
@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
|
||||
sha256 = "26cceb7fa97dc7eee7181a79a6251a85b1f1464dcaaaf7624829f7439c5f7d3f";
|
||||
};
|
||||
|
||||
configureFlags = "--disable-component";
|
||||
configureFlags = [ "--disable-component" ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace doc/C/gnumeric.xml \
|
||||
|
@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ emacs gmp pcre expat ];
|
||||
|
||||
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
||||
configureFlags = [
|
||||
"CPPFLAGS=-DNDEBUG"
|
||||
"CFLAGS=-O3"
|
||||
"CXXFLAGS=-O3"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -15,7 +15,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr";
|
||||
};
|
||||
|
||||
configureFlags = "--without-debug --with-bin-release --with-dll --without-static";
|
||||
configureFlags = [
|
||||
"--without-debug"
|
||||
"--with-bin-release"
|
||||
"--with-dll"
|
||||
"--without-static"
|
||||
];
|
||||
buildInputs = [ cpio ];
|
||||
|
||||
meta = {
|
||||
|
@ -17,14 +17,14 @@ in stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ perl procps fftw.dev ];
|
||||
buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out netcdf arpack ];
|
||||
|
||||
configureFlags = ''
|
||||
--with-yaml-prefix=${libyaml}
|
||||
--with-blas=-lopenblas
|
||||
--with-lapack=-lopenblas
|
||||
--with-fftw-prefix=${fftwAll}
|
||||
--with-gsl-prefix=${gsl}
|
||||
--with-libxc-prefix=${libxc}
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-yaml-prefix=${libyaml}"
|
||||
"--with-blas=-lopenblas"
|
||||
"--with-lapack=-lopenblas"
|
||||
"--with-fftw-prefix=${fftwAll}"
|
||||
"--with-gsl-prefix=${gsl}"
|
||||
"--with-libxc-prefix=${libxc}"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
checkTarget = "check-short";
|
||||
|
@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "08dpa506xk4gjbbi8vnxcb640wq4ihlgmhzlssl52nhvxwx7gx5v";
|
||||
};
|
||||
|
||||
configureFlags = "--disable-update-xdg-database";
|
||||
configureFlags = [
|
||||
"--disable-update-xdg-database"
|
||||
];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ guile gtk2 flex gawk perl ];
|
||||
|
||||
|
@ -17,7 +17,11 @@ in stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ autoreconfHook automake pkgconfig ];
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --with-ngspice=${getBin ngspice}/bin/ngspice";
|
||||
configureFlags = [
|
||||
"--with-tcl=${tcl}/lib"
|
||||
"--with-tk=${tk}/lib"
|
||||
"--with-ngspice=${getBin ngspice}/bin/ngspice"
|
||||
];
|
||||
|
||||
buildInputs = with xorg; [ cairo ghostscript libSM libXt libICE libX11 libXpm tcl tk zlib ];
|
||||
|
||||
|
@ -14,7 +14,10 @@ stdenv.mkDerivation rec {
|
||||
preConfigure = ''
|
||||
sed -e 's/ *CC *= *gcc$//' -i Makefile.vars
|
||||
'';
|
||||
configureFlags = "--exec-prefix=$(out) --man-prefix=$(out)/share/man";
|
||||
configureFlags = [
|
||||
"--exec-prefix=$(out)"
|
||||
"--man-prefix=$(out)/share/man"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Automated theorem prover for full first-order logic with equality";
|
||||
|
@ -15,7 +15,7 @@ in
|
||||
|
||||
let
|
||||
polymlEnableShared = with pkgs; lib.overrideDerivation polyml (attrs: {
|
||||
configureFlags = "--enable-shared";
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
});
|
||||
in
|
||||
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "1w8axdzm05xf5y13c31w7rc5z6ywxqxiwafnxcq3p195kgj0915a";
|
||||
};
|
||||
|
||||
configureFlags = "-C";
|
||||
configureFlags = [ "-C" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
preConfigure = "patchShebangs ginsh";
|
||||
|
||||
configureFlags = "--disable-rpath";
|
||||
configureFlags = [ "--disable-rpath" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GiNaC is Not a CAS";
|
||||
|
@ -29,35 +29,29 @@ stdenv.mkDerivation rec {
|
||||
/*
|
||||
--with-atlas-library=DIR Atlas library files are in DIR and we use Atlas
|
||||
*/
|
||||
configureFlags = ""
|
||||
# use gcc C compiler and gnu Fortran compiler (g77 or gfortran)
|
||||
+ " --with-gcc --with-g77"
|
||||
# use Xaw3d widgets given with Scilab
|
||||
+ (lib.optionalString (!withXaw3d) " --with-local-xaw")
|
||||
# do not compile with PVM library
|
||||
+ " --without-pvm"
|
||||
# compile with GTK
|
||||
+ (if withGtk then "
|
||||
--with-gtk --with-gtk2
|
||||
" else "
|
||||
--without-gtk --without-gtk2
|
||||
")
|
||||
# compile with TCL/TK
|
||||
+ (lib.optionalString withTk "
|
||||
--with-tk
|
||||
--with-tcl-library=${tcl}/lib
|
||||
--with-tcl-include=${tcl}/include
|
||||
--with-tk-library=${tk}/lib
|
||||
--with-tk-include=${tk}/include
|
||||
")
|
||||
# do not use Gtk widgets
|
||||
+ " --without-gtk --without-gtk2"
|
||||
# compile with ocaml
|
||||
+ (if withOCaml then " --with-ocaml" else " --without-ocaml")
|
||||
# do not compile Java interface
|
||||
+ " --without-java"
|
||||
# use the X Window System
|
||||
+ lib.optionalString withX "--with-x"
|
||||
configureFlags = [
|
||||
# use gcc C compiler and gnu Fortran compiler (g77 or gfortran)
|
||||
"--with-gcc" "--with-g77"
|
||||
# do not compile with PVM library
|
||||
"--without-pvm"
|
||||
# compile with GTK
|
||||
(stdenv.lib.enableFeature withGtk "gtk")
|
||||
(stdenv.lib.enableFeature withGtk "gtk2")
|
||||
# compile with ocaml
|
||||
(stdenv.lib.withFeature withOCaml "ocaml")
|
||||
# do not compile Java interface
|
||||
"--without-java"
|
||||
# use the X Window System
|
||||
(stdenv.lib.withFeature withX "x")
|
||||
# compile with TCL/TK
|
||||
] ++ lib.optionals withTk [
|
||||
"--with-tk"
|
||||
"--with-tcl-library=${tcl}/lib"
|
||||
"--with-tcl-include=${tcl}/include"
|
||||
"--with-tk-library=${tk}/lib"
|
||||
"--with-tk-include=${tk}/include"
|
||||
] # use Xaw3d widgets given with Scilab
|
||||
++ lib.optional (!withXaw3d) "--with-local-xaw"
|
||||
;
|
||||
|
||||
makeFlags = "all";
|
||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = "--disable-server";
|
||||
configureFlags = [ "--disable-server" ];
|
||||
|
||||
meta = {
|
||||
description = "Free software for distributed and grid computing";
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
preCheck = stdenv.lib.optional doCheck ''
|
||||
export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"
|
||||
'';
|
||||
configureFlags = if withJson then "--json" else "";
|
||||
configureFlags = stdenv.lib.optional withJson "--json";
|
||||
|
||||
preBuild=''
|
||||
export USER=nonexistent-but-specified-user
|
||||
|
@ -42,17 +42,19 @@ let
|
||||
# https://gcc.gnu.org/gcc-5/porting_to.html
|
||||
CPPFLAGS = "-P";
|
||||
|
||||
configureFlags = ''
|
||||
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
|
||||
${if httpServer then "--with-apxs=${apacheHttpd.dev}/bin/apxs" else "--without-apxs"}
|
||||
${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"}
|
||||
${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""}
|
||||
--disable-keychain
|
||||
${if saslSupport then "--with-sasl=${sasl}" else "--without-sasl"}
|
||||
${if httpSupport then "--with-serf=${serf}" else "--without-serf"}
|
||||
--with-zlib=${zlib.dev}
|
||||
--with-sqlite=${sqlite.dev}
|
||||
'';
|
||||
configureFlags = [
|
||||
(stdenv.lib.withFeature bdbSupport "berkeley-db")
|
||||
(stdenv.lib.withFeatureAs httpServer "apxs" "${apacheHttpd.dev}/bin/apxs")
|
||||
(stdenv.lib.withFeatureAs (pythonBindings || perlBindings) "swig" swig)
|
||||
(stdenv.lib.withFeatureAs saslSupport "sasl" sasl)
|
||||
(stdenv.lib.withFeatureAs httpSupport "serf" serf)
|
||||
"--disable-keychain"
|
||||
"--with-zlib=${zlib.dev}"
|
||||
"--with-sqlite=${sqlite.dev}"
|
||||
] ++ stdenv.lib.optionals javahlBindings [
|
||||
"--enable-javahl"
|
||||
"--with-jdk=${jdk}"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(APACHE_LIBEXECDIR=$out/modules)
|
||||
|
@ -66,7 +66,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ gtk2 libglade libxml2 libraw1394 libsamplerate libdv
|
||||
pkgconfig perl perlXMLParser libavc1394 libiec61883 intltool libXv gettext libX11 glib cairo ffmpeg libv4l ]; # TODOoptional packages
|
||||
|
||||
configureFlags = "--enable-local-ffmpeg=no";
|
||||
configureFlags = [ "--enable-local-ffmpeg=no" ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${linux}/lib/modules/${linux.modDirVersion}/build"
|
||||
'';
|
||||
|
||||
configureFlags="--prefix=";
|
||||
NIX_LDFLAGS="-lgcc_s";
|
||||
configureFlags= [ "--prefix=" ];
|
||||
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
|
||||
makeFlags = "SUID_ROOT= DESTDIR=\$(out) PREFIX=";
|
||||
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
|
||||
|
||||
configureFlags = "--with-readline=${readline.dev}";
|
||||
configureFlags = [ "--with-readline=${readline.dev}" ];
|
||||
|
||||
LIRC_CFLAGS="-I${lirc}/include";
|
||||
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
configureFlags = "--localstatedir=/var";
|
||||
configureFlags = [ "--localstatedir=/var" ];
|
||||
installFlags = "CONTAINER_MOUNTDIR=dummy CONTAINER_FINALDIR=dummy CONTAINER_OVERLAY=dummy SESSIONDIR=dummy";
|
||||
|
||||
fixupPhase = ''
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ intltool iconnamingutils imagemagick librsvg ];
|
||||
|
||||
configureFlags = "--enable-png-creation";
|
||||
configureFlags = [ "--enable-png-creation" ];
|
||||
|
||||
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
|
||||
|
||||
|
@ -18,5 +18,5 @@ stdenv.mkDerivation {
|
||||
libgnomeui librsvg gnome_menus gnome-desktop gnome_panel metacity gnome-settings-daemon
|
||||
libSM docbook_xml_dtd_412
|
||||
];
|
||||
configureFlags = "--disable-scrollkeeper";
|
||||
configureFlags = [ "--disable-scrollkeeper" ];
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "17bkng6ay37n3492lr9wpb49kms6gh554rn9gbjs27zygvvfrjsm";
|
||||
};
|
||||
|
||||
configureFlags = "--disable-scrollkeeper";
|
||||
configureFlags = [ "--disable-scrollkeeper" ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ python libxml2Python libxslt which libX11 gtk
|
||||
intltool GConf gnome-doc-utils ];
|
||||
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://gnome/sources/libgweather/2.30/${name}.tar.bz2";
|
||||
sha256 = "0k16lpdyy8as8wgc5dqpy5b8i9i4mrl77qx8db23fgs2c533fddq";
|
||||
};
|
||||
configureFlags = "--with-zoneinfo-dir=${stdenv.glibc}/share/zoneinfo";
|
||||
configureFlags = [ "--with-zoneinfo-dir=${stdenv.glibc}/share/zoneinfo" ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxml2 gtk intltool GConf libsoup libtasn1 nettle gmp ];
|
||||
}
|
||||
|
@ -15,5 +15,5 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ perl perlXMLParser libxml2 libxslt gettext];
|
||||
configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/catalog.xml";
|
||||
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/catalog.xml" ];
|
||||
}
|
||||
|
@ -32,9 +32,9 @@ in stdenv.mkDerivation rec {
|
||||
buildInputs = [ intltool glib gtk ncurses ] ++
|
||||
stdenv.lib.optionals pythonSupport [python pygtk];
|
||||
|
||||
configureFlags = ''
|
||||
${if pythonSupport then "--enable-python" else "--disable-python"}
|
||||
'';
|
||||
configureFlags = [
|
||||
(stdenv.lib.enableFeature pythonSupport "python")
|
||||
];
|
||||
|
||||
postInstall = stdenv.lib.optionalString pythonSupport ''
|
||||
cd $(toPythonPath $out)/gtk-2.0
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "1b0qxb07wif0ds1pl8xk3fq9p874j89rf718lii4ndh7382bwf48";
|
||||
};
|
||||
|
||||
configureFlags = "--disable-scrollkeeper";
|
||||
configureFlags = [ "--disable-scrollkeeper" ];
|
||||
buildInputs = [ gtk libglade libxml2 libxslt libX11 docbook_xml_dtd_412 ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which ];
|
||||
|
@ -20,7 +20,7 @@ in stdenv.mkDerivation rec {
|
||||
vala libsecret libxml2 libsoup nspr nss intltool db ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
configureFlags = "--disable-fatal-warnings";
|
||||
configureFlags = [ "--disable-fatal-warnings" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = ["-I${nss.dev}/include/nss"
|
||||
"-I${dbus-glib.dev}/include/dbus-1.0" "-I${dbus.dev}/include/dbus-1.0"];
|
||||
|
@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ glib libsoup gobjectIntrospection];
|
||||
|
||||
configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt";
|
||||
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
mate.mate-settings-daemon
|
||||
];
|
||||
|
||||
configureFlags = "--disable-update-mimedb";
|
||||
configureFlags = [ "--disable-update-mimedb" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utilities to configure the MATE desktop";
|
||||
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
mate.mate-menus
|
||||
];
|
||||
|
||||
configureFlags = "--without-console-kit";
|
||||
configureFlags = [ "--without-console-kit" ];
|
||||
|
||||
makeFlags = "DBUS_SESSION_SERVICE_DIR=$(out)/etc";
|
||||
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
systemd
|
||||
];
|
||||
|
||||
configureFlags = "--enable-systemd";
|
||||
configureFlags = [ "--enable-systemd" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "System monitor for the MATE desktop";
|
||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
|
||||
configureFlags = "-ocamlfind ${ocamlPackages.findlib}/bin/ocamlfind ";
|
||||
configureFlags = [ "-ocamlfind ${ocamlPackages.findlib}/bin/ocamlfind" ];
|
||||
|
||||
buildInputs = [ which perl jdk openssl coreutils zlib ncurses
|
||||
makeWrapper gcc binutils gnumake nodejs
|
||||
|
@ -24,7 +24,9 @@ stdenv.mkDerivation {
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = if stdenv.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.out}";
|
||||
configureFlags = [
|
||||
(if stdenv.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.out}")
|
||||
];
|
||||
buildPhase = "make 3-stage-bootstrap";
|
||||
|
||||
postInstall = "wrapProgram $out/bin/dylan-compiler --suffix PATH : ${gcc}/bin";
|
||||
|
@ -20,7 +20,11 @@ stdenv.mkDerivation {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = "--with-world --enable-gmp --enable-shared";
|
||||
configureFlags = [
|
||||
"--with-world"
|
||||
"--enable-gmp"
|
||||
"--enable-shared"
|
||||
];
|
||||
|
||||
buildFlags = "world";
|
||||
|
||||
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure
|
||||
'';
|
||||
|
||||
configureFlags = "--with-openssl=${openssl.dev}";
|
||||
configureFlags = [ "--with-openssl=${openssl.dev}" ];
|
||||
|
||||
preConfigure = ''
|
||||
export PGHEADER="${postgresql}/include/libpq-fe.h";
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ readline gmp zlib ];
|
||||
|
||||
configureFlags = "--enable-tabling=yes";
|
||||
configureFlags = [ "--enable-tabling=yes" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
|
||||
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||
buildInputs = [ coq ];
|
||||
propagatedBuildInputs = [ ssreflect ];
|
||||
|
||||
configureFlags = "--libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Coquelicot";
|
||||
configureFlags = [ "--libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Coquelicot" ];
|
||||
buildPhase = "./remake";
|
||||
installPhase = "./remake install";
|
||||
|
||||
|
@ -67,15 +67,15 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace modules/bindings/glibc/linux.lisp --replace "(def-c-type __swblk_t)" ""
|
||||
'';
|
||||
|
||||
configureFlags = "builddir"
|
||||
+ stdenv.lib.optionalString (!dllSupport) " --without-dynamic-modules"
|
||||
+ stdenv.lib.optionalString (readline != null) " --with-readline"
|
||||
configureFlags = [ "builddir" ]
|
||||
++ stdenv.lib.optional (!dllSupport) "--without-dynamic-modules"
|
||||
++ stdenv.lib.optional (readline != null) "--with-readline"
|
||||
# --with-dynamic-ffi can only exist with --with-ffcall - foreign.d does not compile otherwise
|
||||
+ stdenv.lib.optionalString (ffcallAvailable && (libffi != null)) " --with-dynamic-ffi"
|
||||
+ stdenv.lib.optionalString ffcallAvailable " --with-ffcall"
|
||||
+ stdenv.lib.optionalString (!ffcallAvailable) " --without-ffcall"
|
||||
+ stdenv.lib.concatMapStrings (x: " --with-module=" + x) withModules
|
||||
+ stdenv.lib.optionalString threadSupport " --with-threads=POSIX_THREADS";
|
||||
++ stdenv.lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi"
|
||||
++ stdenv.lib.optional ffcallAvailable "--with-ffcall"
|
||||
++ stdenv.lib.optional (!ffcallAvailable) "--without-ffcall"
|
||||
++ builtins.map (x: "--with-module=" + x) withModules
|
||||
++ stdenv.lib.optional threadSupport "--with-threads=POSIX_THREADS";
|
||||
|
||||
preBuild = ''
|
||||
sed -e '/avcall.h/a\#include "config.h"' -i src/foreign.d
|
||||
|
@ -62,15 +62,15 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace modules/bindings/glibc/linux.lisp --replace "(def-c-type __swblk_t)" ""
|
||||
'';
|
||||
|
||||
configureFlags = "builddir"
|
||||
+ stdenv.lib.optionalString (!dllSupport) " --without-dynamic-modules"
|
||||
+ stdenv.lib.optionalString (readline != null) " --with-readline"
|
||||
configureFlags = [ "builddir" ]
|
||||
++ stdenv.lib.optional (!dllSupport) "--without-dynamic-modules"
|
||||
++ stdenv.lib.optional (readline != null) "--with-readline"
|
||||
# --with-dynamic-ffi can only exist with --with-ffcall - foreign.d does not compile otherwise
|
||||
+ stdenv.lib.optionalString (ffcallAvailable && (libffi != null)) " --with-dynamic-ffi"
|
||||
+ stdenv.lib.optionalString ffcallAvailable " --with-ffcall"
|
||||
+ stdenv.lib.optionalString (!ffcallAvailable) " --without-ffcall"
|
||||
+ stdenv.lib.concatMapStrings (x: " --with-module=" + x) withModules
|
||||
+ stdenv.lib.optionalString threadSupport " --with-threads=POSIX_THREADS";
|
||||
++ stdenv.lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi"
|
||||
++ stdenv.lib.optional ffcallAvailable "--with-ffcall"
|
||||
++ stdenv.lib.optional (!ffcallAvailable) "--without-ffcall"
|
||||
++ builtins.map (x: " --with-module=" + x) withModules
|
||||
++ stdenv.lib.optional threadSupport "--with-threads=POSIX_THREADS";
|
||||
|
||||
preBuild = ''
|
||||
sed -e '/avcall.h/a\#include "config.h"' -i src/foreign.d
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ scheme48 ];
|
||||
configureFlags = ''--with-scheme48=${scheme48}'';
|
||||
configureFlags = [ "--with-scheme48=${scheme48}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Scheme shell";
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
configureFlags = "--without-x --with-ncurses=${ncurses.dev}";
|
||||
configureFlags = [ "--without-x" "--with-ncurses=${ncurses.dev}" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $dev/bin
|
||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
sh autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = "--x-includes=${libX11.dev}/include --x-libraries=${libX11.out}/lib --enable-examples=no";
|
||||
configureFlags = [ "--x-includes=${libX11.dev}/include" "--x-libraries=${libX11.out}/lib" "--enable-examples=no" ];
|
||||
|
||||
# libtool --tag=CXX --mode=link g++ -g -O2 libexamples.la ../src/platform/X11/libaggplatformX11.la ../src/libagg.la -o alpha_mask2 alpha_mask2.o
|
||||
# libtool: error: cannot find the library 'libexamples.la'
|
||||
|
@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
|
||||
rev = "10bc615ce5999caf4723444b2b1219b74781d8a4";
|
||||
sha256 = "1xb40x3hv9nh76aizhskj5gdhalgn7r95a7zji2nn4ih3lmh40hl";
|
||||
};
|
||||
buildInputs = [mpir gmp mpfr flint];
|
||||
configureFlags = "--with-gmp=${gmp} --with-mpir=${mpir} --with-mpfr=${mpfr} --with-flint=${flint}";
|
||||
buildInputs = [ mpir gmp mpfr flint ];
|
||||
configureFlags = [ "--with-gmp=${gmp}" "--with-mpir=${mpir}" "--with-mpfr=${mpfr}" "--with-flint=${flint}" ];
|
||||
meta = {
|
||||
inherit version;
|
||||
description = ''A library for arbitrary-precision interval arithmetic'';
|
||||
|
@ -6,8 +6,8 @@ stdenv.mkDerivation {
|
||||
url = mirror://sourceforge/beecrypt/beecrypt-4.2.1.tar.gz;
|
||||
sha256 = "0pf5k1c4nsj77jfq5ip0ra1gzx2q47xaa0s008fnn6hd11b1yvr8";
|
||||
};
|
||||
buildInputs = [m4];
|
||||
configureFlags = "--disable-optimized --enable-static";
|
||||
buildInputs = [ m4 ];
|
||||
configureFlags = [ "--disable-optimized" "--enable-static" ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ bison ];
|
||||
patches = [ ./gcc-4.3.3-fixes.patch ];
|
||||
configureFlags = "CFLAGS=-O3 CXXFLAGS=-O3";
|
||||
configureFlags = [ "CFLAGS=-O3" "CXXFLAGS=-O3" ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
@ -12,9 +12,9 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ pcre ];
|
||||
|
||||
configureFlags = ''
|
||||
--enable-namespace --enable-flexible-member
|
||||
'';
|
||||
configureFlags = [
|
||||
"--enable-namespace" "--enable-flexible-member"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.cs.wisc.edu/condor/classad/;
|
||||
|
@ -10,7 +10,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
PYTHON_SITE = "$(out)/site-packages";
|
||||
|
||||
configureFlags = "--with-python=${python}/bin/python --disable-apache --disable-perl --disable-ruby --disable-java --disable-csharp";
|
||||
configureFlags = [
|
||||
"--with-python=${python}/bin/python"
|
||||
"--disable-apache"
|
||||
"--disable-perl"
|
||||
"--disable-ruby"
|
||||
"--disable-java"
|
||||
"--disable-csharp"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out
|
||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./fix-ppl-version.patch ];
|
||||
|
||||
configureFlags = "--with-ppl=${ppl}";
|
||||
configureFlags = [ "--with-ppl=${ppl}" ];
|
||||
|
||||
preAutoreconf = ''
|
||||
touch NEWS ChangeLog AUTHORS
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
configureFlags = "--without-python";
|
||||
configureFlags = [ "--without-python" ];
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e '/$(LDCONFIG)/d' common/include/lib.mak.in
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ dbus glib expat ];
|
||||
|
||||
configureFlags = "--disable-ecore";
|
||||
configureFlags = [ "--disable-ecore" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://dbus-cplusplus.sourceforge.net;
|
||||
|
@ -9,7 +9,11 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ givaro_3_7 openblas gmpxx];
|
||||
configureFlags = "--with-blas=-lopenblas --with-gmp=${gmpxx.dev} --with-givaro=${givaro_3_7}";
|
||||
configureFlags = [
|
||||
"--with-blas=-lopenblas"
|
||||
"--with-gmp=${gmpxx.dev}"
|
||||
"--with-givaro=${givaro_3_7}"
|
||||
];
|
||||
meta = {
|
||||
inherit version;
|
||||
description = ''Finite Field Linear Algebra Subroutines'';
|
||||
|
@ -14,7 +14,11 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
# `_GNU_SOURCE' is needed, e.g., to get `struct ucred' from
|
||||
# <sys/socket.h> with Glibc 2.9.
|
||||
configureFlags = "--disable-debug --with-python=${python} CPPFLAGS=-D_GNU_SOURCE";
|
||||
configureFlags = [
|
||||
"--disable-debug"
|
||||
"--with-python=${python}"
|
||||
"CPPFLAGS=-D_GNU_SOURCE"
|
||||
];
|
||||
|
||||
patches = [ ./deadlock.patch ]
|
||||
++ map fetchurl (import ./debian-patches.nix)
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
# needs fonts otherwise don't know how to pass them
|
||||
configureFlags = "--disable-docs";
|
||||
configureFlags = [ "--disable-docs" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
})];
|
||||
|
||||
# needs fonts otherwise don't know how to pass them
|
||||
configureFlags = "--disable-docs";
|
||||
configureFlags = [ "--disable-docs" ];
|
||||
|
||||
buildInputs = [ babl libpng cairo libjpeg librsvg pango gtk2 bzip2 intltool libintl ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin OpenGL;
|
||||
|
@ -27,8 +27,12 @@ let self = stdenv.mkDerivation rec {
|
||||
then "ln -sf configfsf.guess config.guess"
|
||||
else ''echo "Darwin host is `./config.guess`."'';
|
||||
|
||||
configureFlags = (if cxx then "--enable-cxx" else "--disable-cxx") +
|
||||
stdenv.lib.optionalString stdenv.isDarwin " ac_cv_build=x86_64-apple-darwin13.4.0 ac_cv_host=x86_64-apple-darwin13.4.0";
|
||||
configureFlags = [
|
||||
(stdenv.lib.enableFeature cxx "cxx")
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
"ac_cv_build=x86_64-apple-darwin13.4.0"
|
||||
"ac_cv_host=x86_64-apple-darwin13.4.0"
|
||||
];
|
||||
|
||||
# The test t-lucnum_ui fails (on Linux/x86_64) when built with GCC 4.8.
|
||||
# Newer versions of GMP don't have that issue anymore.
|
||||
|
@ -20,18 +20,17 @@ let self = stdenv.mkDerivation rec {
|
||||
|
||||
patches = if stdenv.isDarwin then [ ./need-size-t.patch ] else null;
|
||||
|
||||
configureFlags =
|
||||
configureFlags = [
|
||||
"--with-pic"
|
||||
(stdenv.lib.enableFeature cxx "cxx")
|
||||
# Build a "fat binary", with routines for several sub-architectures
|
||||
# (x86), except on Solaris where some tests crash with "Memory fault".
|
||||
# See <http://hydra.nixos.org/build/2760931>, for instance.
|
||||
#
|
||||
# no darwin because gmp uses ASM that clang doesn't like
|
||||
optional (!stdenv.isSunOS) "--enable-fat"
|
||||
++ (if cxx then [ "--enable-cxx" ]
|
||||
else [ "--disable-cxx" ])
|
||||
++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
|
||||
++ optional stdenv.isDarwin "ABI=64"
|
||||
++ optional stdenv.is64bit "--with-pic"
|
||||
(stdenv.lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat")
|
||||
] ++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
|
||||
++ optional (stdenv.isDarwin && stdenv.is64bit) "ABI=64"
|
||||
;
|
||||
|
||||
# The config.guess in GMP tries to runtime-detect various
|
||||
|
@ -21,18 +21,17 @@ let self = stdenv.mkDerivation rec {
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ m4 ];
|
||||
|
||||
configureFlags =
|
||||
configureFlags = [
|
||||
"--with-pic"
|
||||
(stdenv.lib.enableFeature cxx "cxx")
|
||||
# Build a "fat binary", with routines for several sub-architectures
|
||||
# (x86), except on Solaris where some tests crash with "Memory fault".
|
||||
# See <http://hydra.nixos.org/build/2760931>, for instance.
|
||||
#
|
||||
# no darwin because gmp uses ASM that clang doesn't like
|
||||
optional (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "--enable-fat"
|
||||
++ (if cxx then [ "--enable-cxx" ]
|
||||
else [ "--disable-cxx" ])
|
||||
++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
|
||||
(stdenv.lib.enableFeature (!stdenv.isSunOS && stdenv.hostPlatform.isx86) "fat")
|
||||
] ++ optional (cxx && stdenv.isDarwin) "CPPFLAGS=-fexceptions"
|
||||
++ optional (stdenv.isDarwin && stdenv.is64bit) "ABI=64"
|
||||
++ optional stdenv.is64bit "--with-pic"
|
||||
++ optional (with stdenv.hostPlatform; useAndroidPrebuilt || useiOSPrebuilt) "--disable-assembly"
|
||||
;
|
||||
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ libidn kerberos ];
|
||||
|
||||
configureFlags = "--with-gssapi-impl=mit";
|
||||
configureFlags = [ "--with-gssapi-impl=mit" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
# Upstream strongly recommends against using --with-system-ffmpeg,
|
||||
# but we do it anyway because we're so hardcore (and we don't want
|
||||
# multiple copies of ffmpeg).
|
||||
configureFlags = stdenv.lib.optionalString (!useInternalFfmpeg) "--with-system-ffmpeg";
|
||||
configureFlags = stdenv.lib.optional (!useInternalFfmpeg) "--with-system-ffmpeg";
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig bzip2 gst-plugins-base orc ]
|
||||
|
@ -26,9 +26,13 @@ stdenv.mkDerivation rec {
|
||||
patch -p1 < ${./darwin.patch}
|
||||
'';
|
||||
|
||||
configureFlags = ''
|
||||
--disable-examples --enable-failing-tests --localstatedir=/var --disable-gtk-doc --disable-docbook
|
||||
'';
|
||||
configureFlags = [
|
||||
"--disable-examples"
|
||||
"--enable-failing-tests"
|
||||
"--localstatedir=/var"
|
||||
"--disable-gtk-doc"
|
||||
"--disable-docbook"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# Hm, apparently --disable-gtk-doc is ignored...
|
||||
|
@ -36,9 +36,9 @@ let
|
||||
sed -e 's/LDFLAGSICUDT=-nodefaultlibs -nostdlib/LDFLAGSICUDT=/' -i config/mh-linux
|
||||
'';
|
||||
|
||||
configureFlags = "--disable-debug" +
|
||||
stdenv.lib.optionalString (stdenv.isFreeBSD || stdenv.isDarwin) " --enable-rpath" +
|
||||
stdenv.lib.optionalString (buildPlatform != hostPlatform) " --with-cross-build=${nativeBuildRoot}";
|
||||
configureFlags = [ "--disable-debug" ]
|
||||
++ stdenv.lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) "--enable-rpath"
|
||||
++ stdenv.lib.optional (buildPlatform != hostPlatform) "--with-cross-build=${nativeBuildRoot}";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -14,9 +14,12 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ directfb libsigcxx libxml2 fontconfig ];
|
||||
|
||||
configureFlags = ''
|
||||
--enable-log-debug --enable-debug --enable-trace --with-examples
|
||||
'';
|
||||
configureFlags = [
|
||||
"--enable-log-debug"
|
||||
"--enable-debug"
|
||||
"--enable-trace"
|
||||
"--with-examples"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lightweight C++ GUI toolkit for embedded Linux systems";
|
||||
|
@ -7,10 +7,11 @@ stdenv.mkDerivation {
|
||||
sha256 = "0ggjxyvgp4pxc0b88v40xj9daz90518ydnycw7qax011gxpr12d3";
|
||||
};
|
||||
|
||||
configureFlags = "
|
||||
--disable-shm
|
||||
--x-includes=${libX11.dev}/include
|
||||
--x-libraries=${libX11.out}/lib";
|
||||
configureFlags = [
|
||||
"--disable-shm"
|
||||
"--x-includes=${libX11.dev}/include"
|
||||
"--x-libraries=${libX11.out}/lib"
|
||||
];
|
||||
|
||||
buildInputs = [libjpeg libXext libX11 xextproto libtiff libungif libpng];
|
||||
|
||||
|
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
propagatedBuildInputs = [ libjpeg ];
|
||||
|
||||
configureFlags = "--enable-shared";
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
|
||||
outputs = [ "bin" "dev" "out" "man" ];
|
||||
|
||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ glib zlib libpng cmake gnumake3 ];
|
||||
|
||||
configureFlags = "-v";
|
||||
configureFlags = [ "-v" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
platforms = platforms.linux;
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
cat configure.in | ${bsdbuild}/bin/mkconfigure > configure
|
||||
'';
|
||||
|
||||
configureFlags = "--with-agar=${libagar}";
|
||||
configureFlags = [ "--with-agar=${libagar}" ];
|
||||
|
||||
buildInputs = [ perl bsdbuild libagar libjpeg libpng openssl ];
|
||||
|
||||
|
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
||||
sha256 ="0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa";
|
||||
};
|
||||
|
||||
configureFlags = if stdenv.is64bit then "--enable-64bit" else "";
|
||||
configureFlags = stdenv.lib.optional stdenv.is64bit "--enable-64bit";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "C runtime libraries of ANTLR v3";
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user