!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
29 Jul 2023
@lstrojny:matrix.orgLars Strojny * I found a workaround by setting `PHP_PEAR_PHP_BIN=``which php``` but that’s not ideal09:29:18
@lstrojny:matrix.orgLars Strojny * I found a workaround by setting PHP_PEAR_PHP_BIN=which php but that’s not ideal 09:29:39
@drupol:matrix.orgPol
In reply to @lstrojny:matrix.org
But still pecl package complains about missing zlib
What is doing that command, I don't know it yet.
10:49:32
@lstrojny:matrix.orgLars Strojny Pol: it’s for package maintainers to generate new release archives for PECL extensions 12:36:27
@drupol:matrix.orgPolCan I have a look at this command ? 14:00:32
@lstrojny:matrix.orgLars Strojny
In reply to @drupol:matrix.org
Can I have a look at this command ?
What do you mean?
16:05:39
@drupol:matrix.orgPolIt's soirce16:20:07
@drupol:matrix.orgPol* It's sources16:20:15
@drupol:matrix.orgPolSo I can reproduce the issue16:20:23
1 Aug 2023
@wriver4:matrix.orgwriver4 joined the room.15:15:32
4 Aug 2023
@drupol:matrix.orgPolI've extracted the PHP builder I've been working on in a flake at https://github.com/loophp/nix-php-composer-builder/tree/main16:46:03
@drupol:matrix.orgPol 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
@drupol:matrix.orgPolSee how easy it is to package Drupal in Nix with this new builder: https://github.com/loophp/nix-php-composer-builder/#packaging-drupal06:19:59
7 Aug 2023
@drupol:matrix.orgPol Having fun with Flake and welcomeText of Nix flake template ! 13:14:26
@drupol:matrix.orgPolhttps://main.elk.zone/mathstodon.xyz/@Pol/11084850842882711613:14:36
10 Aug 2023
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (UTC+1) to pbsds.14:54:44
13 Aug 2023
@10leej:matrix.org@10leej:matrix.org joined the room.01:27:17
14 Aug 2023
@hexa:lossy.networkhexa joined the room.12:43:40
@hexa:lossy.networkhexahi, is there a builder that takes care of calling composer to resolve dependencies?12:44:08
@tgerbet:matrix.orgtgerbet There is the work of Pol https://github.com/loophp/nix-php-composer-builder 18:17:04
15 Aug 2023
@10leej:matrix.org@10leej:matrix.org left the room.19:34:37
20 Aug 2023
@stephank:stephank.nlStéphan joined the room.18:16:30
@skochen:matrix.orgStéphan left the room.18:26:39
30 Aug 2023
@lstrojny:matrix.orgLars 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
@drupol:matrix.orgPol 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
@drupol:matrix.orgPolThat new flake will be integrated in nixpkgs soon07:48:27
@drupol:matrix.orgPolThe work is at https://github.com/NixOS/nixpkgs/pull/24818407:49:18
@drupol:matrix.orgPolI did that to ease the transition when that PR will be merged 07:49:48
@drupol:matrix.orgPolYou might also like the default basic template for PHP projects in there.08:19:25
@drupol:matrix.orgPolSee the doc: https://github.com/loophp/nix-php-composer-builder#usage08:19:45

Show newer messages


Back to Room ListRoom Version: 6