!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

79 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
17 Nov 2023
@shyim:matrix.orgShyimMaybe interesting for guys, a colleague wrote a twig linter in Rust. https://github.com/NixOS/nixpkgs/pull/26808310:48:59
@drupol:matrix.orgPolNice !10:52:36
@drupol:matrix.orgPol w: Let us know how we can help. 10:52:45
@Zevran:matrix.orgGaël Reyrol Hey Pol , about the renaming in this PR, should I also rename the derivation in php-packages ? It would break existing usage of php-spx even if it was not working ^^ 12:08:29
@drupol:matrix.orgPolmmmh ok fair enough12:14:40
@Zevran:matrix.orgGaël ReyrolWhat should I do then?14:49:34
@Zevran:matrix.orgGaël Reyrol I have a small feedback on the composerInstallInstallHook, it collects bin files from the composer.json but let's imagine there is a script for Windows (for example a bat script). The makeWrapper will fail because it is not an executable, which is normal but I can prevent some project from being packaged. 14:53:21
@Zevran:matrix.orgGaël Reyrol * I have a small feedback on the composerInstallInstallHook, it collects bin files from the composer.json but let's imagine there is a script for Windows (for example a bat script). The makeWrapper will fail because it is not an executable, which is normal but it can prevent some project from being packaged. 14:53:41
@drupol:matrix.orgPolThere's room for improvements indeed.14:57:10
@drupol:matrix.orgPolLet's see what others are going to say14:57:22
@drupol:matrix.orgPolDid you had that specific problem with a package of yours?14:58:00
@Zevran:matrix.orgGaël Reyrolfine :)14:58:05
@Zevran:matrix.orgGaël ReyrolYep, I need to package this old garbage : https://github.com/mentionapp/Protobuf-PHP14:58:52
@Zevran:matrix.orgGaël ReyrolAnd the composer file contains a bat script in the bin : https://github.com/mentionapp/Protobuf-PHP/blob/master/composer.json#L1514:59:24
@Zevran:matrix.orgGaël ReyrolI thought it could happen on other projects too14:59:46
@drupol:matrix.orgPolArgh15:01:22
@drupol:matrix.orgPol I guess we should exclude files ending with .bat ! :) 15:02:02
@Zevran:matrix.orgGaël ReyrolThat's what I thought 😁15:05:07
18 Nov 2023
@Zevran:matrix.orgGaël ReyrolScreenshot from 2023-11-18 17-09-11.png
Download Screenshot from 2023-11-18 17-09-11.png
16:09:30
@Zevran:matrix.orgGaël Reyrol If anyone is interested, I think I managed to package FrankenPHP, here is the derivation : https://github.com/gaelreyrol/nixpkgs/commit/7c0eb86b97877fa41c5c62591cdd3bb89bfd0ff3 :D 16:09:33
@drupol:matrix.orgPolOMG ! I tried last month16:42:02
@drupol:matrix.orgPolHow about submitting a PR against nixpkgs ?16:42:13
@Zevran:matrix.orgGaël ReyrolI need to optimize a few things, add some real world tests and I will submit it :)16:54:45
@drupol:matrix.orgPolexcellent !17:22:55
19 Nov 2023
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (federation borken, may not see reply).03:35:28
@zxgu:matrix.orgZXGU joined the room.11:02:40
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (federation borken, may not see reply) to pbsds.20:38:45
20 Nov 2023
@shyim:matrix.orgShyimDoes it make sense that we use libphp.so with Frankenphp. So compile Frankenphp once and pass the libphp.so from that one needed php version 🤔. https://github.com/symfony-cli/symfony-cli/pull/216#issuecomment-181981365521:43:35
@drupol:matrix.orgPolGood question, I have no clue :S21:46:30
@jtojnar:matrix.orgJan Tojnardepends on whether different PHP versions promise stable ABI. I would not bet on it.22:19:32

Show newer messages


Back to Room ListRoom Version: 6