Convert stringly-typed configureFlags to lists of strings

This has been deprecated in nixpkgs and the warning resulting from that
is driving me crazy.
This commit is contained in:
sternenseemann 2022-06-21 22:36:46 +02:00 committed by Florian Klink
parent 63ba2fde50
commit a4cafa65e7

View File

@ -25,7 +25,7 @@ let
buildInputs = tarballDeps ++ buildDeps ++ propagatedDeps;
configureFlags = "--enable-gc";
configureFlags = [ "--enable-gc" ];
postUnpack = ''
(cd $sourceRoot && find . -type f) | cut -c3- > $sourceRoot/.dist-files
@ -111,10 +111,10 @@ let
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
configureFlags = ''
--with-dbi=${perlPackages.DBI}/${pkgs.perl.libPrefix}
--with-dbd-sqlite=${perlPackages.DBDSQLite}/${pkgs.perl.libPrefix}
'';
configureFlags = [
"--with-dbi=${perlPackages.DBI}/${pkgs.perl.libPrefix}"
"--with-dbd-sqlite=${perlPackages.DBDSQLite}/${pkgs.perl.libPrefix}"
];
enableParallelBuilding = true;