Nix PHP | 80 Members | |
| A room for PHP developers running on Nix | 22 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Jun 2023 | ||
| Hey! | 19:50:19 | |
| I'm trying to package a symfony app using the new PHP Builder I'm working on. | 19:50:31 | |
| I have this issue: | 19:51:06 | |
Download image.png | 19:51:09 | |
| Since this is a symfony app, we can control the cache and log dir using environment variables | 19:51:33 | |
APP_CACHE_DIR and APP_LOG_DIR | 19:51:46 | |
| So I did this: | 19:51:49 | |
Download image.png | 19:52:09 | |
| But it doesn't have any impact and the issue is still there. | 19:52:44 | |
| Am I doing something wrong? | 20:02:19 | |
| Does not look like you are doing something wrong, they hardcode the path https://github.com/phpDocumentor/phpDocumentor/blob/acda4884faee0feed77b67e8f8761d010848b8be/src/phpDocumentor/Kernel.php#L69 | 21:38:35 | |
| They should probably have some logic to use `XDG_CACHE_HOME` (when it is defined) per project | 21:41:02 | |
| 2 Jun 2023 | ||
| OMG they customized the kernel :( | 06:46:26 | |
| I didn't even think about checking that! | 06:46:36 | |
| Thanks for letting me know. | 06:46:41 | |
| Fixed: https://github.com/NixOS/nixpkgs/pull/225401/commits/d3f5880cc61cb4609331e45dba190fce53b2bed3 | 07:01:01 | |
| Someone has a clue for this thing? | 08:19:07 | |
In this | 08:19:09 | |
| got the solution! | 08:25:43 | |
We have to use --set-default | 08:25:49 | |
| tgerbet: Fixed upstream: https://github.com/phpDocumentor/phpDocumentor/pull/3518 | 12:17:09 | |
| Noice | 12:17:40 | |
| 6 Jun 2023 | ||
| Hey all, I would like to push further this PR: https://github.com/NixOS/nixpkgs/pull/225401 Apparently, adding a Do you have ideas? | 06:59:32 | |
| 8 Jun 2023 | ||
| ramsey: I'm trying to introduce PHP 8.3 in Nix, but it seems that some tests are failing. To whom should I report the issue ? | 18:58:59 | |
| ramsey: You can see the compilation logs here: https://logs.ofborg.org/?key=nixos/nixpkgs.236481&attempt_id=3fa301d1-edba-47aa-87a6-07ac1fee3178 | 18:59:21 | |
| 9 Jun 2023 | ||
| ramsey: We've chosen to ignore tests for specific extensions on specific versions in the past, that's always an option but also a bit of a last resort :) | 10:49:35 | |
| * Pol: : We've chosen to ignore tests for specific extensions on specific versions in the past, that's always an option but also a bit of a last resort :) | 10:49:44 | |
| * Pol: We've chosen to ignore tests for specific extensions on specific versions in the past, that's always an option but also a bit of a last resort :) | 10:49:49 | |
| We should also consider switching to 8.2 as default PHP asap 🙂 | 10:50:07 | |
| Ok that's an option. | 10:50:10 | |