treewide: Make configureFlags lists
This commit is contained in:
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
disableIda = "--disable-ida --disable-fsi-benchmark";
|
||||
|
||||
configureFlags = "--enable-everything ${disableIda} --with-llvm-config=${llvm_38}/bin/llvm-config";
|
||||
configureFlags = [ "--enable-everything ${disableIda}" "--with-llvm-config=${llvm_38}/bin/llvm-config" ];
|
||||
|
||||
BAPBUILDFLAGS = "-j $(NIX_BUILD_CORES)";
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ounit ];
|
||||
|
||||
configureFlags = "--enable-tests";
|
||||
configureFlags = [ "--enable-tests" ];
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation (rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ocaml findlib gtk2 libgnomecanvas libglade gtksourceview camlp4 ];
|
||||
|
||||
configureFlags = "--with-libdir=$(out)/lib/ocaml/${ocaml.version}/site-lib";
|
||||
configureFlags = [ "--with-libdir=$(out)/lib/ocaml/${ocaml.version}/site-lib" ];
|
||||
buildFlags = "world";
|
||||
|
||||
preInstall = ''
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ocaml findlib gtk2 libgnomecanvas libglade gtksourceview ];
|
||||
|
||||
configureFlags = "--with-libdir=$(out)/lib/ocaml/${ocaml.version}/site-lib";
|
||||
configureFlags = [ "--with-libdir=$(out)/lib/ocaml/${ocaml.version}/site-lib" ];
|
||||
buildFlags = "world";
|
||||
|
||||
preInstall = ''
|
||||
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||
ocaml_sqlite3 tree uutf makeWrapper camlp4 pgocaml camlzip ]
|
||||
++ (param.buildInputs or []);
|
||||
|
||||
configureFlags = "--root $(out) --prefix /";
|
||||
configureFlags = [ "--root $(out) --prefix /" ];
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild ounit ];
|
||||
|
||||
configureFlags = "--enable-tests";
|
||||
configureFlags = [ "--enable-tests" ];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "ocaml setup.ml -test";
|
||||
|
||||
Reference in New Issue
Block a user