!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
5 May 2024
@drupol:matrix.orgPolOkidocky15:16:26
@drupol:matrix.orgPolHave you seen, that version get rid of the composer plugin :)15:19:47
@jtojnar:matrix.orgJan TojnarI was to lazy to diff it against the old one, hence the request for a separate commit :)15:25:14
@drupol:matrix.orgPolDone now: https://github.com/NixOS/nixpkgs/pull/30805915:52:15
@drupol:matrix.orgPolHope it's what you're expecting15:52:21
@drupol:matrix.orgPolI'll continue working on this in the upcoming days to relax 15:55:12
6 May 2024
@patka_123:matrix.org@patka_123:matrix.org joined the room.15:46:02
@drupol:matrix.orgPolPaving the way for the next version of the builder by reorganizing files of the version 1 of the builder: https://github.com/NixOS/nixpkgs/pull/30960517:10:27
@drupol:matrix.orgPolThis PR doesn't change anything in the way the current builder works. It just reorganize files, nothing else, nothing more.17:11:47
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org changed their display name from nick_kadutskyi to nickkadutskyi.17:33:23
@nick_kadutskyi:matrix.org@nick_kadutskyi:matrix.org left the room.17:35:36
@nickkadutskyi:matrix.orgNick Kadutskyi joined the room.17:38:32
@nickkadutskyi:matrix.orgNick Kadutskyi changed their display name from nickkadutskyi to Nick Kadutskyi.17:39:34
@piotrkwiecinski:matrix.orgpiotrkwiecinskiHello everyone. I'm quite new to nix. I'm trying to figure out a good approach to setting up multiple php projects with nginx and db running at the same time on local env. Would you point me in the right direction? Is https://devenv.sh/getting-started/ good starting point?18:29:06
@drupol:matrix.orgPol Yes, Devenv is a very good starting point. Maybe Shyim can help, he's using it every day I think. 20:58:33
@shyim:matrix.orgShyimIs caddy also fine?21:52:55
7 May 2024
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI'm going to need nginx to be closer to production configuration. I'll try to configure as much as I can myself and ping you if I'm stuck if you don't mind.06:57:42
@drupol:matrix.orgPol Jan Tojnar: Looks like it works! https://github.com/NixOS/nixpkgs/pull/309605 11:09:29
8 May 2024
@drupol:matrix.orgPol

Just FYI, a new version of the builder is up at https://github.com/NixOS/nixpkgs/pull/308059
Reviews and tests are welcome.
News in it:

  • No more composer-local-repo-plugin for Composer
  • Performance! (it's ~twice faster)
  • Simplified workflow
12:08:00
9 May 2024
@piotrkwiecinski:matrix.orgpiotrkwiecinskiWhen the new builder is ready I can migrate n98-magerun2 for start. I use it daily. I'm relatively new to nix but I'm happy to help as much as I can.07:56:18
@patka_123:matrix.org@patka_123:matrix.orgRedacted or Malformed Event08:56:46
@patka_123:matrix.org@patka_123:matrix.org *

buildsupport/php: add passthru.updateScript

Lets make sure that (almost) all PHP packages can be updated by the r-ryantm bot!
PHP packages where upstream provides a lock file can be automatically updated with the standard updateScript. The next step (in a following PR) will be to create a script that optionally updates and replaces the local lock file if upstream doesn't provide it.

09:00:21
@patka_123:matrix.org@patka_123:matrix.org *

buildsupport/php: add passthru.updateScript

Lets make sure that (almost) all PHP packages can be updated by the r-ryantm bot!

PHP packages where upstream provides a lock file can be automatically updated with the standard updateScript. The next step (in a following PR) will be to create a script that optionally updates and replaces the local lock file if upstream doesn't provide it.

09:00:33
@patka_123:matrix.org@patka_123:matrix.org *

buildsupport/php: add passthru.updateScript

Lets make sure that (almost) all PHP packages can be updated by the r-ryantm bot!

PHP packages where upstream provides a lock file can be automatically updated with the standard nix-update-script. The next step (in a following PR) will be to create a script that optionally updates and replaces the local lock file if upstream doesn't provide it.

09:03:13
@patka_123:matrix.org@patka_123:matrix.org *

buildsupport/php: add default passthru.updateScript

Lets make sure that (almost) all PHP packages can be updated by the r-ryantm bot!

PHP packages where upstream provides a lock file can be automatically updated with the standard nix-update-script. The next step (in a following PR) will be to create a script that optionally updates and replaces the local lock file if upstream doesn't provide it.

09:06:00
@patka_123:matrix.org@patka_123:matrix.org *

buildsupport/php: add default passthru.updateScript

Lets make sure that (almost) all PHP packages can be updated by the r-ryantm bot!

PHP packages where upstream provides a lock file can be automatically updated with the standard nix-update-script. The next step (in a following PR) will be to create a script that optionally regenerates and replaces the local lock file if upstream doesn't provide it.

09:15:48
@patka_123:matrix.org@patka_123:matrix.org Pol Jan Tojnar sorry for the PR spam... 12:47:57
@patka_123:matrix.org@patka_123:matrix.org *

Pol Jan Tojnar sorry for the PR spam...

(yes, I know how git works)

12:58:36
10 May 2024
@slytherx:matrix.orgslytherx joined the room.21:33:17
13 May 2024
@patka_123:matrix.org@patka_123:matrix.org

I might be missing something, so I'll just ask here:

The box PHP package is built with php82.buildComposerProject and upstream also has "php": "^8.2" in their composer.json (and .lock). But then why does it also end up in the php81Packages set?

Shouldn't we have some kind of mechanism that uses the php version that composer uses to decide whether or not it belongs in a given package set?

17:24:03

Show newer messages


Back to Room ListRoom Version: 6