From a4cafa65e71e12e027a8d7ae5763616bb211947a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 21 Jun 2022 22:36:46 +0200 Subject: [PATCH] Convert stringly-typed configureFlags to lists of strings This has been deprecated in nixpkgs and the warning resulting from that is driving me crazy. --- release.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/release.nix b/release.nix index 3c975c51e21..f468946c55e 100644 --- a/release.nix +++ b/release.nix @@ -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;