!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
9 Dec 2023
@Zevran:matrix.orgGaël ReyrolRedacted or Malformed Event14:13:45
@Zevran:matrix.orgGaël Reyrol * I submitted a PR to support buildComposerProject in nix-update, it will allow us to automate updates of php Packages with passthru.updateScript = nix-update-script { }: https://github.com/Mic92/nix-update/pull/211 14:16:58
@drupol:matrix.orgPolAMAZING ! :)21:31:28
10 Dec 2023
@shyim:matrix.orgShyim another reason why we should switch buildComposerProject to only .composer/cache https://github.com/cachix/devenv/issues/881 :D 09:37:24
@drupol:matrix.orgPolWe cannot use composer cache, the composer cache only contains Git "bare" repositories, so, we cannot use it sadly :(10:14:08
@drupol:matrix.orgPolI'm pretty sure that mentioned issue is not because of the new builder.10:15:05
@jtojnar:matrix.orgJan Tojnar Pol: apparently the cachix cache for nix-phps ran out of space 10:17:15
@drupol:matrix.orgPolIt's fine, it will run the garbage collector10:21:03
@drupol:matrix.orgPolI would no worry much10:21:09
@shyim:matrix.orgShyimis that fine that I expose the php.ini file in the php package? Was the simplest method to get same behavior in frankenphp and php package. https://github.com/NixOS/nixpkgs/pull/27337816:22:14
@drupol:matrix.orgPolI don't see another way to do it anyway16:45:13
12 Dec 2023
@drupol:matrix.orgPol

Just a quick summary of the SymfonyCon: It was super great, my best symfonycon so far.

Not necessarily for the talk I've been watching, but merely for the people I met there.
For the first time, I met people I used to work with since 10 years!!!

I have the feeling that people are talking about reproducibility without knowing it exists and that it would fix many of the issues that they are facing (see the FrankenPHP talk: https://dunglas.dev/2023/12/php-and-symfony-apps-as-standalone-binaries/). I was also extremelly pleased to see a talk on Nix itself by the platform.sh guys. They are using Nix to build their containers and they are amazed by it. It's the beginning of a whole new chapter for them !

There were many discussions on Nix and how we could improve the security of Composer. I pushed for having a checksum in composer.lock files, but this seems to be quite difficult given the fact that packagist.org is not hosting files per se. (I also had some discussion with Marco Pivetta on this here: https://github.com/Roave/BackwardCompatibilityCheck/pull/754#pullrequestreview-1775673196).

Next SymfonyCon is in Vienna, 7-8 December 2024.

Maybe I'll go.

09:41:37
@drupol:matrix.orgPol *

Just a quick summary of the SymfonyCon: It was super great, my best symfonycon so far.

Not necessarily for the talk I've been watching, but merely for the people I met there.
For the first time, I met people I used to work with since 10 years!!!

I have the feeling that people are talking about reproducibility without knowing it exists and that it would fix many of the issues that they are facing (see the FrankenPHP talk: https://dunglas.dev/2023/12/php-and-symfony-apps-as-standalone-binaries/). I was also extremelly pleased to see a talk on Nix itself by the platform.sh guys. They are using Nix to build their containers and they are amazed by it. It's the beginning of a whole new chapter for them !

There were many discussions on Nix and how we could improve the security of Composer. I pushed for having a checksum in composer.lock files, but this seems to be quite difficult given the fact that packagist.org is not hosting files per se. (I also had some discussion with Marco Pivetta on this here: https://github.com/Roave/BackwardCompatibilityCheck/pull/754#pullrequestreview-1775673196).
During the con, I also helped Sebastian Bergmann to make sure that the PHPUnit PHAR is reproducible, and it worked.

Next SymfonyCon is in Vienna, 7-8 December 2024.

Maybe I'll go.

09:45:12
@drupol:matrix.orgPol *

Just a quick summary of the SymfonyCon: It was super great, my best symfonycon so far.

Not necessarily for the talk I've been watching, but merely for the people I met there.
For the first time, I met people I used to work with since 10 years!!!

I have the feeling that people are talking about reproducibility without knowing it exists and that it would fix many of the issues that they are facing (see the FrankenPHP talk: https://dunglas.dev/2023/12/php-and-symfony-apps-as-standalone-binaries/). I was also extremelly pleased to see a talk on Nix itself by the platform.sh guys. They are using Nix to build their containers and they are amazed by it. It's the beginning of a whole new chapter for them !

There were many discussions on Nix and how we could improve the security of Composer. I pushed for having a checksum in composer.lock files, but this seems to be quite difficult given the fact that packagist.org is not hosting files per se. (I also had some discussion with Marco Pivetta on this here: https://github.com/Roave/BackwardCompatibilityCheck/pull/754#pullrequestreview-1775673196 and https://github.com/Roave/BackwardCompatibilityCheck/pull/754#pullrequestreview-1767132967).
During the con, I also helped Sebastian Bergmann to make sure that the PHPUnit PHAR is reproducible, and it worked.

Next SymfonyCon is in Vienna, 7-8 December 2024.

Maybe I'll go.

10:00:52
13 Dec 2023
@shyim:matrix.orgShyimIt's weird that the imagick in nixpkgs is working for php83 and in any of my docker images it crashes because of this 🤔 https://github.com/Imagick/imagick/pull/64112:50:16
@drupol:matrix.orgPolMaybe a dependency in the supply chain? 13:53:08
@drupol:matrix.orgPolI proposed a venue for the next NixCon! https://github.com/nixcon/nixcon-proposals/issues/313:54:22
15 Dec 2023
@shyim:matrix.orgShyim
       > error: collision between `/nix/store/7rmnhcknpdii30z60zkkbclnv8g0kaai-frankenphp-1.0.0/lib/php.ini' and `/nix/store/92w8cfv0823hbxlzrzzqyss6yfwhcjpy-php-with-extensions-8.3.0/lib/php.ini'

any good idea? Easiest fix would be to rename php.ini 🤔

11:02:54
@shyim:matrix.orgShyimalso only happens with home-manager packages nix-shell works fine wtf :D 11:09:03
@jtojnar:matrix.orgJan Tojnar the collisions are from buildEnv, mkShell does not use that 20:54:04
16 Dec 2023
@a-kenji:matrix.orgkenji joined the room.13:23:43
22 Dec 2023
@drupol:matrix.orgPolPHP Update is failing, I might not have the time to look at it today: https://github.com/NixOS/nixpkgs/pull/27588710:25:02
7 Jan 2024
@jtojnar:matrix.orgJan Tojnarthere is box build issue on staging-next: https://hydra.nixos.org/build/245452993/nixlog/4 (https://github.com/NixOS/nixpkgs/pull/275620#issuecomment-1880064723)14:09:05
@jtojnar:matrix.orgJan Tojnaralso PHP 8.1 will be broken15:11:50
@drupol:matrix.orgPolI can't do anything related to nix this week sadly18:21:39
@drupol:matrix.orgPolthere's also this PR to review: https://github.com/NixOS/nixpkgs/pull/27925218:25:10
10 Jan 2024
@philipp:xndr.dephilipp changed their display name from philipp to philipp (prolog in linux kernel when).13:47:16
@philipp:xndr.dephilipp changed their display name from philipp (prolog in linux kernel when) to philipp (prolog in lkernel when).13:47:20
@philipp:xndr.dephilipp changed their display name from philipp (prolog in lkernel when) to test.13:47:36
@philipp:xndr.dephilipp changed their display name from test to philipp.13:49:33

Show newer messages


Back to Room ListRoom Version: 6