!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
7 Jul 2023
@drupol:matrix.orgPolthat's an alternative indeed08:08:10
@drupol:matrix.orgPolimage.png
Download image.png
08:09:03
@drupol:matrix.orgPol I would use the enable attribute 08:10:07
@drupol:matrix.orgPolI guess that's why it has been created.08:11:19
@drupol:matrix.orgPol I should have used that for the blackfire extension as well. 08:11:32
@etu:failar.nu@etu:failar.nuBut that's only for "built in" extensions right?08:12:00
@drupol:matrix.orgPolNo08:12:07
@drupol:matrix.orgPolIt's for all extensions08:12:17
@etu:failar.nu@etu:failar.nu You sure? Because we have that list named extensionData which are for built in extensions only where it passes each of the entries through mkExtension and also filters on enable 08:14:36
@drupol:matrix.orgPolWait.08:14:35
@drupol:matrix.orgPolYou're maybe right.08:14:39
@drupol:matrix.orgPolYes, let me double check.08:14:44
@etu:failar.nu@etu:failar.nuWhile the extensions list above is already assigned to the extensions attribute08:15:02
@etu:failar.nu@etu:failar.nuand doesn't get filtered08:15:10
@drupol:matrix.orgPolYes you're right, I was wrong08:15:19
@drupol:matrix.orgPolI'll update.08:15:33
@drupol:matrix.orgPolJob done. I added some comments.08:23:57
@etu:failar.nu@etu:failar.nu I think you dropped a ; when moving blackfire up 08:41:35
@etu:failar.nu@etu:failar.nuSo eval is broken08:41:39
@drupol:matrix.orgPolFixed09:19:57
@drupol:matrix.orgPolSaw it just now09:20:01
@drupol:matrix.orgPol I'm looking for some help to get the couchbase extension working with recent version of PHP. I opened as PR here : https://github.com/NixOS/nixpkgs/pull/240673 but I can't get it compile at all. If you have some time, please have a look... 15:37:21
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
I should have used that for the blackfire extension as well.
I would argue that removing packages from the set based on specific platform/version violates the principle of least surprise – people will find the package somewhere (e.g. in package search) and then they will have to wonder why it does not exist
19:37:52
@jtojnar:matrix.orgJan Tojnar it is also contrary to what rest of Nixpkgs does with check-meta.nix (e.g. meta.{platforms,broken}) 19:39:48
@jtojnar:matrix.orgJan Tojnar * it is also contrary to what rest of Nixpkgs does with check-meta.nix (i.e. meta.{platforms,broken}) 19:40:02
@drupol:matrix.orgPolWhat would you advise here then ?19:44:33
@jtojnar:matrix.orgJan Tojnar just relying on meta.platforms instead of removing it 19:46:39
@jtojnar:matrix.orgJan TojnarI still do not think trying to build PHP with all packages is meaningful except for special cases like you are doing, and in those cases you can just filter the extensions explicitly19:47:53
@drupol:matrix.orgPolI'll push a PR to fix it tonight then19:53:02
@drupol:matrix.orgPolPR created: https://github.com/NixOS/nixpkgs/pull/24213421:03:29

Show newer messages


Back to Room ListRoom Version: 6