php: fix build on darwin (the iconv extension)

https://hydra.nixos.org/build/258946784/nixlog/2/tail
The issue was probably triggered by the darwin iconv changes
done during this staging-next cycle.

Also use enable tests on linux, as they pass for me
on native x86_64 and aarch64.
This commit is contained in:
Vladimír Čunát 2024-05-12 08:54:43 +02:00
parent 8101e67b3d
commit 1d2dff45d3
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -428,10 +428,9 @@ in {
} }
{ {
name = "iconv"; name = "iconv";
configureFlags = [ buildInputs = [ libiconv ];
"--with-iconv${lib.optionalString stdenv.isDarwin "=${libiconv}"}" configureFlags = [ "--with-iconv" ];
]; doCheck = stdenv.isLinux;
doCheck = false;
} }
{ {
name = "imap"; name = "imap";