Nix PHP | 78 Members | |
| A room for PHP developers running on Nix | 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Apr 2023 | ||
| * Here's what I succeeded to do in 30 min, with the
| 09:46:52 | |
| * Here's what I succeeded to do in 30 min, with the
| 09:49:48 | |
| I pushed my draft here: https://github.com/NixOS/nixpkgs/pull/225401 | 09:58:06 | |
| My Easter sunday starts very well :D | 09:59:46 | |
| I'm pretty sure the excitement will drop down after some reviews anyway :D | 10:00:02 | |
| 17:47:02 | ||
| 17:47:49 | ||
Jan Tojnar: I tried the finalAttrs: pattern... but I can't get it to work. | 19:06:45 | |
| Redacted or Malformed Event | 19:10:32 | |
Jan Tojnar: I can't use the builder outside of the PHP packages scope... example, how can I use buildPHPproject for PHPActor ? (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/phpactor/default.nix) | 19:17:36 | |
| When I try to add it in the first line, I get: | 19:17:53 | |
error: evaluation aborted with the following error message: 'Function called without required argument "buildPHPproject" at /nix/store/qa7zxpw9g2qixsqblaga7hsasqhs65kb-source/pkgs/development/tools/phpactor/default.nix:1' | 19:18:24 | |
| 10 Apr 2023 | ||
Pol: it is defined inside php.packages scope | 09:20:49 | |
| not top-level | 09:20:57 | |
| How should I call this for phpactor which is out of the php.packages scope then ? | 09:33:23 | |
take php as argument to the package and use php.packages.buildPhpProject | 09:34:58 | |
| 11 Apr 2023 | ||
| Jan Tojnar: I tried, doesn't work at all. I don't know what's the problem | 07:06:51 | |
Download image.png | 07:17:43 | |
| And the source: | 07:18:22 | |
| 07:18:28 | |
*
| 07:18:38 | |
Download image.png | 07:51:03 | |
I just don't understand. How come that buildPecl is available, while buildPHPproject is not ? | 07:51:24 | |
I also created a PR to be able to disable session support in PHP derivation at: https://github.com/NixOS/nixpkgs/pull/225709 | 08:45:40 | |
| For which I'm looking for review :) | 08:52:59 | |
| And if you're wondering why I need this PR is to show my colleagues that the version of PHP I use doesnt have support for Session and I can still do persistent storage in my app. | 10:23:04 | |
| Pol: https://github.com/NixOS/nixpkgs/blob/2dfbb7c8891da0429caa8c0d198570bd58d0f9be/pkgs/development/interpreters/php/generic.nix#L162-L163 | 16:13:20 | |
| checking | 17:10:37 | |
In reply to @jtojnar:matrix.orgI tried to add it in that list, same result... | 17:10:58 | |
| I'll try again now. | 17:11:01 | |