treewide: convert string cmakeFlags to list of strings

This commit is contained in:
Artturin 2022-07-04 04:26:36 +03:00
parent 3173c3b6b6
commit 732f1d8142
4 changed files with 7 additions and 6 deletions

View File

@ -58,9 +58,10 @@ let
cd build
'';
cmakeFlags = ''
-C ../backends/all.cmake -C ../targets/all.cmake ..
'';
cmakeFlags = [
"-C../backends/all.cmake"
"-C../targets/all.cmake"
];
postInstall = ''
# syntax error when eval'd directly

View File

@ -13,7 +13,7 @@ mkDerivation rec {
nativeBuildInputs = [ cmake qttranslations ];
propagatedBuildInputs = [ qtsvg qtwebengine ];
cmakeFlags = "-DINSTALL_BUNDLED_DICTS=0";
cmakeFlags = [ "-DINSTALL_BUNDLED_DICTS=0" ];
meta = with lib; {
description = "ePub XHTML Visual Editor";

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
];
# Disable warnings that are irrelevant to us as packagers
cmakeFlags = "-Wno-dev";
cmakeFlags = [ "-Wno-dev" ];
# We run one of the executables we build while the build is
# still running (and patchelf hasn't been invoked) which means

View File

@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
cmakeFlags = "-DPROJECT_ARCH=${platformInfo.projectArch}";
cmakeFlags = [ "-DPROJECT_ARCH=${platformInfo.projectArch}" ];
makeFlags = [ "libcef_dll_wrapper" ];
dontStrip = true;
dontPatchELF = true;