!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
29 Oct 2023
@drupol:matrix.orgPolI made a presentation about Nix and PHP in Munich 2 days ago, find the slides here: https://github.com/drupol/ipc2023/releases/tag/v19-ea1ffb110:20:01
2 Nov 2023
@philipp:xndr.dephilipp Somebody here made a composer builder that relied on a composer.lock file, instead of a vendorHash, right? I can't seem to find it, so I'm happy for any pointers. 12:01:45
@philipp:xndr.dephilippAh, this is the one: https://github.com/fossar/composition-c412:04:43
3 Nov 2023
@drupol:matrix.orgPol Some with a Mac could confirm this bug ? https://github.com/fossar/nix-phps/issues/305 Just run nix shell github:fossar/nix-phps#php73 to confirm or infirm please! 08:03:43
@drupol:matrix.orgPol
In reply to @philipp:xndr.de
Somebody here made a composer builder that relied on a composer.lock file, instead of a vendorHash, right? I can't seem to find it, so I'm happy for any pointers.
The new Composer/Builder in nixpkgs doesn't work for you? Happy to hear the story!
08:07:28
@philipp:xndr.dephilipp
In reply to @drupol:matrix.org
The new Composer/Builder in nixpkgs doesn't work for you? Happy to hear the story!
Need to work it with old php versions for a few weeks, kind of a bootstrapping problem. The new builder will hopefully be used next month.
08:10:41
@drupol:matrix.orgPolOkidocky08:11:41
@drupol:matrix.orgPolGlad to hear :)08:11:45
@philipp:xndr.dephilippReally looking forward to use the version in nixpkgs, that should finally enable us to have not god-awful deployment methods.08:24:42
@drupol:matrix.orgPolYes that was something awaited for a long time09:47:36
@drupol:matrix.orgPolI grow more white hairs while doing it as well :D09:47:58
4 Nov 2023
@Zevran:matrix.orgGaël Reyrol Hey Pol , I've ran into a surprising issue with buildPhpFromComposer when playing with PHP ini option ffi.preload using .user.ini. It seems if I set it to a local file, the complete chain of derivations fails when building composer from it because the local file is not included in the derivations such as composer-local-repo-plugin. The built PHP derivation has the option but the file is not included in the derivation. When thinking about it is completely logic but it is not trivial 😅 14:46:36
@Zevran:matrix.orgGaël ReyrolI've set up a test repository and a more detailed issue here: https://github.com/gaelreyrol/opentelemetry-php-nix/issues/114:47:15
@drupol:matrix.orgPol
In reply to @Zevran:matrix.org
I've set up a test repository and a more detailed issue here: https://github.com/gaelreyrol/opentelemetry-php-nix/issues/1
I hope to find time to test this. if you find the issue in the meantime, let me know!
23:08:59
@Zevran:matrix.orgGaël ReyrolDon't worry it is not urgent! When I think about it, I don't see an easy way of fixing it :/ 23:16:01
6 Nov 2023
@philipp:xndr.dephilipp Pol: Since you are looking for feedback and I started trying to use the new composer build environment in in nixpkgs: The docs are somewhat unclear on whether a vendorHash is always required and why that is, I think. 08:45:35
@drupol:matrix.orgPol OK, that means there's room for improvements. The vendorHash is required just like in other builder (rust, nodejs, etc etc). 08:46:47
@drupol:matrix.orgPol The vendorHash correspond to the vendor directory hash that Composer builds for the PHP app. 08:47:09
@drupol:matrix.orgPolIt is always required.08:49:47
11 Nov 2023
@shyim:matrix.orgShyim joined the room.19:37:07
@shyim:matrix.orgShyimCan amybe someone review this https://github.com/NixOS/nixpkgs/pull/266515 . the version of blackfire php probe segfaults in nixpkgs right now19:38:43
14 Nov 2023
@wjjunyor:matrix.orgw Folks, I am back with my wordpress saga. Now working, serving multiple websites - (in test yet) but I've found another problem, and I am strugling with it - In case of updates, is needed to the WP to write different paths of those it is allowed. I am having troubles, with that. Has someone any walktrough for this issue ? 14:03:16
@drupol:matrix.orgPolOh I just see this message now.14:40:20
@drupol:matrix.orgPolAre you using the new PHP/Composer builder in nixpkgs?14:40:27
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.16:11:16
@grahamc:nixos.org@grahamc:nixos.org left the room.16:11:17
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:12
@wjjunyor:matrix.orgw
In reply to @drupol:matrix.org
Are you using the new PHP/Composer builder in nixpkgs?
I guess i am not
21:51:33
17 Nov 2023
@shyim:matrix.orgShyimMaybe interesting for guys, a colleague wrote a twig linter in Rust. https://github.com/NixOS/nixpkgs/pull/26808310:48:59
@drupol:matrix.orgPolNice !10:52:36

Show newer messages


Back to Room ListRoom Version: 6