!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
6 Feb 2024
@jtojnar:matrix.orgJan TojnarNice, good job! 19:02:32
@patka_123:matrix.org@patka_123:matrix.org joined the room.20:33:45
@patka_123:matrix.org@patka_123:matrix.org

Hello 👋

I'm new to nixpkgs and just started contributing recently. Since my work is doing PHP I thought I'd start here :)

20:38:13
@drupol:matrix.orgPolWelcome !20:39:30
@patka_123:matrix.org@patka_123:matrix.org I thought since phpunit is already packaged, I might as well package Pest :D 20:51:26
@patka_123:matrix.org@patka_123:matrix.org * I thought since phpunit is already packaged I might as well package Pest :D 20:52:56
@drupol:matrix.orgPolYou're free to do it indeed20:59:39
@drupol:matrix.orgPolEven if I have my own personal opinion on some frameworks, Nix is not here to judge or anything. If you want to provide it in Nix, got for it.21:00:13
@drupol:matrix.orgPolThe more package we have, the more likely Nix is going to be adopted by many people.21:00:29
@patka_123:matrix.org@patka_123:matrix.orgI also have pretty strong personal opinions about certain frameworks and even about PHP itself ^^ I'm not a fan of Pest at all. But it is pretty big so it'd be good to have that packaged regardless :)21:04:46
@drupol:matrix.orgPolLikewise.21:06:40
@drupol:matrix.orgPolsend your PR and I'll review it.21:06:49
@drupol:matrix.orgPolA fresh PR I just made where you can get some inspiration: https://github.com/NixOS/nixpkgs/pull/28680921:07:08
@drupol:matrix.orgPolLet's see how they are going to react with this: https://github.com/Smile-SA/gdpr-dump/issues/9521:08:16
@patka_123:matrix.org@patka_123:matrix.orgOh, I'm already done. Just finishing some things now21:14:10
@patka_123:matrix.org@patka_123:matrix.org Here it is: https://github.com/NixOS/nixpkgs/pull/286816 21:31:42
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/actions/runs/7806376986/job/21292605678?pr=28681621:33:16
@patka_123:matrix.org@patka_123:matrix.orgYeah I saw that. Fixing it now :)21:36:08
@drupol:matrix.orgPolBeside that, all good !21:36:40
@patka_123:matrix.org@patka_123:matrix.orgDone21:43:33
@drupol:matrix.orgPolI'll merge it when tests are green21:47:09
@drupol:matrix.orgPolThanks for it!21:47:32
@patka_123:matrix.org@patka_123:matrix.orgThanks so far! Have a nice evening21:48:17
@drupol:matrix.orgPolYou too ! Bye!21:50:16
@patka_123:matrix.org@patka_123:matrix.org
In reply to @drupol:matrix.org
Let's see how they are going to react with this: https://github.com/Smile-SA/gdpr-dump/issues/95
I was thinking for two whole seconds to do this for Pest as well. But I know the answer I'm going to get and don't feel like wasting energy on it
22:02:57
@drupol:matrix.orgPol
In reply to @patka_123:matrix.org
I was thinking for two whole seconds to do this for Pest as well. But I know the answer I'm going to get and don't feel like wasting energy on it
Please do it, but I won't!
22:04:20
@drupol:matrix.orgPol
In reply to @patka_123:matrix.org
I was thinking for two whole seconds to do this for Pest as well. But I know the answer I'm going to get and don't feel like wasting energy on it
https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues/153 that issue makes we want to reconsider adding composer.lock in nixpkgs 
22:06:49
7 Feb 2024
@patka_123:matrix.org@patka_123:matrix.orgThat is a good explanation of why a lot of projects don't provide a composer.lock. The FOSS packages we maintain at $work also don't have a lock05:08:45
@patka_123:matrix.org@patka_123:matrix.org
In reply to @drupol:matrix.org
https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues/153 that issue makes we want to reconsider adding composer.lock in nixpkgs 

I don't understand this. Putting a package under by-name is done for applications, so there you want a lock file. The application is the "end user" and thus decides all versions.

If you have some kind of library that might be a dependency elsewhere then the package should be in something like php83. and you still want a lock file.

We can't magically figure out at runtime which dependencies to build if there is no lockfile.

06:05:55
@patka_123:matrix.org@patka_123:matrix.orgOr am I missing something?06:06:15

Show newer messages


Back to Room ListRoom Version: 6