!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
7 Sep 2023
@jtojnar:matrix.orgJan Tojnarmost of the older Nixpkgs contributors will be familiar with those tools but they will probably also be quite busy. Your best bet is probably asking on Discourse or main chat room and hoping someone can sacrifice an hour for digging into the PHP build system20:24:45
@drupol:matrix.orgPolI will post on discourse tomorrow. I'm trying to understand why it is so complex and what's the issue there.20:26:10
@jtojnar:matrix.orgJan Tojnarthe makefile is generated by phpize, IIRC20:28:05
@drupol:matrix.orgPolyeah... is it an issue ?20:29:34
@drupol:matrix.orgPolI wrote my findings here: https://github.com/fossar/nix-phps/pull/104#issuecomment-171032081820:30:48
@drupol:matrix.orgPolWhy there's no Makefile in the PHP distribution (in ext/tokenizer)20:31:21
@drupol:matrix.orgPolThat is also something I'd like to understand20:31:30
@drupol:matrix.orgPolBut since I never used those tools, it's complicated for me20:31:41
@jtojnar:matrix.orgJan Tojnarthe lex error sounds like lex is missing some flag as well20:35:37
@drupol:matrix.orgPol These are RE2C_FLAGS ? 20:37:01
@drupol:matrix.orgPolHave you seen this? https://github.com/php/php-src/blob/master/scripts/dev/genfiles20:45:00
@drupol:matrix.orgPolMaybe we should use it ?20:45:04
@drupol:matrix.orgPolGOT IT WORKING !!!!20:53:02
@drupol:matrix.orgPolJust pushed the change20:54:05
@drupol:matrix.orgPolNow going straigh to bed... 20:55:38
8 Sep 2023
@drupol:matrix.orgPol Lars Strojny: Now I will work on a PR to provide a flake.nix in the php/php-src source directly :) so we can have a CI that builds PHP at each commit ! 05:01:49
@drupol:matrix.orgPolAnd we are green ! https://github.com/fossar/nix-phps/pull/10405:34:32
@drupol:matrix.orgPolOne year later :D05:34:35
@drupol:matrix.orgPolphp-master branch is building on Nix! https://github.com/fossar/nix-phps/pull/10405:34:51
@drupol:matrix.orgPolSomeone to review this? https://github.com/NixOS/nixpkgs/pull/25400110:17:31
@drupol:matrix.orgPol Lars Strojny: I just made a flake.nix file for https://github.com/php/php-src that compile the master branch :) Works pretty fine !! Do you think it worth submitting a PR ? 11:06:45
@drupol:matrix.orgPolWe could imagine also a default devShell that would provide all the tools needed for a PHP core developer :)11:07:23
@drupol:matrix.orgPolWe could imagine a Github action what would check if a commit is not breaking the builds ! :)11:14:36
@drupol:matrix.orgPolPlenty of new possibilities !!!11:14:44
@drupol:matrix.orgPolPR is green ^^ 13:10:22
@drupol:matrix.orgPolFeel free to add your voice to that PR, I really need it :)13:10:46
@drupol:matrix.orgPolThanks to that PR, I can now provide this: https://github.com/fossar/nix-phps/pull/104#issuecomment-171170602513:58:18
@drupol:matrix.orgPol And a flake.nix for https://github.com/php/php-src ! :) 13:58:32
@drupol:matrix.orgPolGot it working on my machine :)13:58:44
@drupol:matrix.orgPol=> https://main.elk.zone/mathstodon.xyz/@Pol/11102925504694179613:59:06

Show newer messages


Back to Room ListRoom Version: 6