| 29 Jul 2023 |
Pol | Can I have a look at this command ? | 14:00:32 |
Lars Strojny | In reply to @drupol:matrix.org Can I have a look at this command ? What do you mean? | 16:05:39 |
Pol | It's soirce | 16:20:07 |
Pol | * It's sources | 16:20:15 |
Pol | So I can reproduce the issue | 16:20:23 |
| 1 Aug 2023 |
| wriver4 joined the room. | 15:15:32 |
| 4 Aug 2023 |
Pol | I've extracted the PHP builder I've been working on in a flake at https://github.com/loophp/nix-php-composer-builder/tree/main | 16:46:03 |
Pol | Feel free to tell me if I'm doing things right, and eventually send PR to that repo, I'll backport everything in nixpkgs on a monthly basis. | 17:46:00 |
| 5 Aug 2023 |
Pol | See how easy it is to package Drupal in Nix with this new builder: https://github.com/loophp/nix-php-composer-builder/#packaging-drupal | 06:19:59 |
| 7 Aug 2023 |
Pol | Having fun with Flake and welcomeText of Nix flake template ! | 13:14:26 |
Pol | https://main.elk.zone/mathstodon.xyz/@Pol/110848508428827116 | 13:14:36 |
| 10 Aug 2023 |
| pbsds changed their display name from pbsds (UTC+1) to pbsds. | 14:54:44 |
| 13 Aug 2023 |
| @10leej:matrix.org joined the room. | 01:27:17 |
| 14 Aug 2023 |
| hexa joined the room. | 12:43:40 |
hexa | hi, is there a builder that takes care of calling composer to resolve dependencies? | 12:44:08 |
tgerbet | There is the work of Pol https://github.com/loophp/nix-php-composer-builder | 18:17:04 |
| 15 Aug 2023 |
| @10leej:matrix.org left the room. | 19:34:37 |
| 20 Aug 2023 |
| Stéphan joined the room. | 18:16:30 |
| @skochen:matrix.org left the room. | 18:26:39 |
| 30 Aug 2023 |
Lars Strojny | Pol: I am trying to upgrade to the latest nix-shell version with this custom flake and I am getting this error:
error: attribute 'api' missing
at /nix/store/dhfg509620jwb0g4v83vxnrlphz3l6by-source/flake.nix:27:17:
26| phps = map
27| (php: pkgs.api.buildPhpFromComposer { inherit php; src = inputs.self; })
Any hints?
| 07:28:14 |
Pol | Lars Strojny: that project has been completely rewritten not so long ago. I'm now relying on https://github.com/loophp/nix-php-composer-builder and no longer expose `api` in loophp/nix-shell. | 07:47:55 |
Pol | That new flake will be integrated in nixpkgs soon | 07:48:27 |
Pol | The work is at https://github.com/NixOS/nixpkgs/pull/248184 | 07:49:18 |
Pol | I did that to ease the transition when that PR will be merged | 07:49:48 |
Pol | You might also like the default basic template for PHP projects in there. | 08:19:25 |
Pol | See the doc: https://github.com/loophp/nix-php-composer-builder#usage | 08:19:45 |
Lars Strojny | In reply to @drupol:matrix.org Lars Strojny: that project has been completely rewritten not so long ago. I'm now relying on https://github.com/loophp/nix-php-composer-builder and no longer expose `api` in loophp/nix-shell. Ah, thank you very much. Bad timing on my side ;) | 09:49:53 |
Pol | Feel free to test that thing, since it's going to be merged in nixpkgs at some point, testers are always welcome. | 09:52:45 |
Lars Strojny | It works fine but I get a warning: "The pcre extension does not exist, ignoring."
That’s both true and not true. ext/pcre exists but it cannot be deactivated AFAIK | 15:36:02 |
| 31 Aug 2023 |
Pol | True. This is something new in the new version. | 06:04:49 |