Skip to content

Commit

Permalink
Convert stringly-typed configureFlags to lists of strings
Browse files Browse the repository at this point in the history
This has been deprecated in nixpkgs and the warning resulting from that
is driving me crazy.
  • Loading branch information
sternenseemann authored and flokli committed Oct 31, 2023
1 parent 63ba2fd commit a4cafa6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit a4cafa6

Please sign in to comment.