!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

70 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
4 Feb 2025
@drupol:matrix.orgPol
  1. Checkout the PR
  2. Build a couple of PHP derivations
  3. Test them
  4. Check if the changes are OK
19:45:57
@wjjunyor:matrix.orgwOK19:47:15
7 Feb 2025
@piotrkwiecinski:matrix.orgpiotrkwiecinskiWe have 5 packages left using buildComposerProject. In their current form they move some files from $out/share/php/pname to $out. This doesn't work with buildComposerProject2. Any suggestion how we could solve it? Here is an example: https://github.com/NixOS/nixpkgs/blob/91b02440a51ceea54ee5ca61b2d018f41c22695f/pkgs/by-name/da/davis/package.nix#L21-L2714:01:37
@piotrkwiecinski:matrix.orgpiotrkwiecinskihttps://github.com/search?q=repo%3ANixOS%2Fnixpkgs+%22buildComposerProject+%28%22&type=code14:03:42
@piotrkwiecinski:matrix.orgpiotrkwiecinskihttps://github.com/NixOS/nixpkgs/blob/91b02440a51ceea54ee5ca61b2d018f41c22695f/pkgs/servers/nextcloud/packages/apps/hmr_enabler.nix#L25 uses chmod -R u+w $out/share which seems to solve a problem for building davis is this correct ok?14:08:22
8 Feb 2025
@piotrkwiecinski:matrix.orgpiotrkwiecinskiWe don't have any packages using buildComposerProject. Is it worth deprecating it?12:57:34
9 Feb 2025
@drupol:matrix.orgPolyes !16:59:15
@drupol:matrix.orgPolmassive :)16:59:21
10 Feb 2025
@piotrkwiecinski:matrix.orgpiotrkwiecinski Pol: in v1 we still have mkComposerRepository and buildComposerWithPlugin are we going to leave them as they are? 21:01:16
13 Feb 2025
@drupol:matrix.orgPol piotrkwiecinski: I want to get rid of them actually. 21:38:50
15 Feb 2025
@benjb83:matrix.orgBenjB83 joined the room.10:19:45
@benjb83:matrix.orgBenjB83 changed their display name from Benjamín Buske to BenjB83.10:43:03
22 Feb 2025
@wjjunyor:matrix.orgwI wasn't able to try that yet - But I am setting-up a new box this weekend and Iĺl try13:15:04
27 Feb 2025
@wjjunyor:matrix.orgw changed their display name from w to w - out for 🚬.18:33:51
@wjjunyor:matrix.orgw changed their display name from w - out for 🚬 to w.19:25:13
28 Feb 2025
@drupol:matrix.orgPolWondering if implementing lib.extendMkDerivation for PHP Builder is a good idea.12:33:10
@drupol:matrix.orgPolContext: https://github.com/NixOS/nixpkgs/pull/23465112:33:16
@drupol:matrix.orgPolSomething like this: https://github.com/NixOS/nixpkgs/pull/38583016:15:15
@drupol:matrix.orgPolOn another note, I wrote this post on Mastodon: https://main.elk.zone/mathstodon.xyz/@Pol/114081643763526228 Feel free to boost it. 16:28:16
2 Mar 2025
@patka_123:matrix.org@patka_123:matrix.org left the room.15:51:07
4 Mar 2025
@drupol:matrix.orgPolUpdated the PR @ https://github.com/NixOS/nixpkgs/pull/38675710:53:07
10 Mar 2025
@hexa:lossy.networkhexa

CVE-2024-13918: Laravel 11.9.0-11.35.1 Reflected XSS via Request Parameter in Debug-Mode Error Page

15:13:19
@hexa:lossy.networkhexahow many laravel versions do we vendor?15:13:30
@patka:envs.netpatka

The only one I can find is in Bookstack (pkgs/servers/web-apps/bookstack/php-packages.nix), which is EOL and out of the security update window.

(my search was quick and probably not exhaustive)

15:40:29
@patka:envs.netpatkaI tried to use the included update script but that blows up horribly (besides that it uses composer2nix that I've seen for the first time now and is horribly unmaintained). I don't have the time to sort this out and get Bookstack updated, sorry15:57:53
@tgerbet:matrix.orgtgerbetLikely also Pixel fed, snipe-it and agorakit (and Pest but if you expose that publicly you have other issues…)15:59:36
11 Mar 2025
@genghiz:cdw.go7box.xyzGenghizIs bookstack actively maintained?16:09:11
@genghiz:cdw.go7box.xyzGenghizLet me rephrase. Is the maintainer active?16:09:23
@genghiz:cdw.go7box.xyzGenghiz I can update it to use the same style as firefly-iii, which is also RFC 42 styled. 16:11:00
@nebucatnetzer13:matrix.orgnebucatnetzer13He replies to mails this much I can say.16:57:11

Show newer messages


Back to Room ListRoom Version: 6