!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

71 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
21 Apr 2023
@drupol:matrix.orgPolSo, you would merge the bash script in the nix function ?!08:30:38
@jtojnar:matrix.orgJan Tojnar yeah. I think the composerInstallHook is useful when building multi-language projects but almost everything can just use buildComposerDeps 08:33:30
@drupol:matrix.orgPol Damn, it's been years that I'm using VSCode, I've never found a faster way to do commit fixup in the UI. I always need to do the rebase manually after. 08:34:00
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
yeah. I think the composerInstallHook is useful when building multi-language projects but almost everything can just use buildComposerDeps
Can we revisit this later if needed ?
08:34:23
@jtojnar:matrix.orgJan Tojnargenerally, it is easier to add API then remove it08:35:10
@jtojnar:matrix.orgJan Tojnar but I do not care much either way, the important thing is that the installHook and buildComposerDeps exists 08:35:41
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
yeah. I think the composerInstallHook is useful when building multi-language projects but almost everything can just use buildComposerDeps
But that hook is responsible for doing the installation and creating the vendor dir. While buildComposerDeps is only building the composer cache in .composer directory.
08:36:12
@jtojnar:matrix.orgJan Tojnar right, I am talking about merging the composerSetupHook, composerInstallHook would remain 08:36:59
@drupol:matrix.orgPol So, basically, instead of having 3 function in composerSetupHook, have only one function ? 08:37:31
@drupol:matrix.orgPol * So, basically, instead of having 3 functions in composerSetupHook, have only one function ? 08:37:38
@drupol:matrix.orgPolI think this is my biggest PR so far in the Nix project.08:45:07
@drupol:matrix.orgPol(and the documentation is not yet written)08:45:20
@drupol:matrix.orgPolI think I'm going to start the documentation today. Do you have a piece of advice on where I should start writing all those new things?08:50:06
@drupol:matrix.orgPolhere? doc/languages-frameworks/php.section.md08:50:29
@drupol:matrix.orgPol * here? doc/languages-frameworks/php.section.md 08:50:35
@drupol:matrix.orgPolThings are going well:09:19:53
@drupol:matrix.orgPolimage.png
Download image.png
09:19:58
@drupol:matrix.orgPol withdrew @shyim-5532ae2f15522ed4b3df33d3:gitter.im@shyim-5532ae2f15522ed4b3df33d3:gitter.im's invite.09:20:22
@etu:failar.nu@etu:failar.nu
In reply to @drupol:matrix.org
here? doc/languages-frameworks/php.section.md
That's a good place yes :)
09:38:27
@drupol:matrix.orgPolI started here: https://github.com/NixOS/nixpkgs/pull/225401/commits/b3e440525021f5cd8cce65d46ed5f2a40f412c4609:53:56
@drupol:matrix.orgPolLet me know what you think about that already.09:55:29
@drupol:matrix.orgPolThe more feedback I have, the better it is.09:55:36
@drupol:matrix.orgPol * I started here: https://github.com/NixOS/nixpkgs/pull/225401/commits/4876d0b2eb9b3417e4420fff3164abfd4d21463209:55:54
@drupol:matrix.orgPol Jan Tojnar: For phpcbf, is it what you have in mind? 10:12:19
@drupol:matrix.orgPolimage.png
Download image.png
10:12:21
@jtojnar:matrix.orgJan Tojnar Pol: exactly that 10:14:12
@drupol:matrix.orgPolOk10:14:43
@drupol:matrix.orgPolconfig and callPackages are not available in that file.10:14:51
@drupol:matrix.orgPolWorking on it.10:14:53
@drupol:matrix.orgPolfixed.10:15:20

Show newer messages


Back to Room ListRoom Version: 6