!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
3 Jul 2023
@drupol:matrix.orgPolI think I'm going to give up on this PR. It's not my type to give up, but since I've never done C or C++ it's way out of my league.18:04:40
@drupol:matrix.orgPolFor the record, here's the terminal log: https://pastebin.com/NGGXcQZu18:26:56
@drupol:matrix.orgPolAnd the derivation: https://pastebin.com/Hws3vysA18:29:49
@jtojnar:matrix.orgJan Tojnar Pol: sounds like you are missing some dependencies 18:31:01
@jtojnar:matrix.orgJan Tojnarbut it will also require some patching https://github.com/couchbaselabs/couchbase-cxx-client/blob/7c5abb0523a6a377454fcecaea9003ce8f5b0274/cmake/ThirdPartyDependencies.cmake18:32:51
@drupol:matrix.orgPol I think I will leave this PR for the next person who's gonna need couchbase, I have no clue what to do since I never used all these building tools and I cannot continue to bother you or anybody else. It can wait. 18:36:31
@jtojnar:matrix.orgJan Tojnarperhaps update the PR with latest progress so that people can pick it up18:40:05
@drupol:matrix.orgPolI just did for sure18:43:02
@jtojnar:matrix.orgJan TojnarLooks like the current repo is https://github.com/couchbase/couchbase-php-client18:46:43
@drupol:matrix.orgPolYes indeed18:56:33
@drupol:matrix.orgPolNice finding18:56:54
@drupol:matrix.orgPolI'll update the PR.18:56:58
@drupol:matrix.orgPolDone.19:03:04
4 Jul 2023
@shyim:matrix.orgShyim
❯ nix run nixpkgs#symfony-cli new foo
error: unable to execute '/nix/store/9szxdim4wkiwkpfwwk45ahq9kn8037gp-symfony-cli-5.5.6/bin/symfony-cli': No such file or directory

How can we specify the main program 🤔

08:47:29
@Zevran:matrix.orgGaël Reyrol I think you can't, you can with nix shell but it does not have the same purpose: nix shell nixpkgs#symfony-cli -c symfony new foo 09:15:28
@etu:failar.nu@etu:failar.nuYeah, it can be specified09:16:05
@etu:failar.nu@etu:failar.nu meta.mainProgram = "symfony"; 09:16:15
@Zevran:matrix.orgGaël Reyrolsymfony-cli misses a mainProgram yeah09:16:25
@etu:failar.nu@etu:failar.nu I'm not sure why we rename the executable in postInstall though 09:17:01
@Zevran:matrix.orgGaël Reyrol It seems on the documentation it has to be named symfony 09:18:00
@Zevran:matrix.orgGaël Reyrolhttps://symfony.com/download#step-2-create-new-symfony-applications09:18:18
@Zevran:matrix.orgGaël ReyrolI opened a PR to solve this: https://github.com/NixOS/nixpkgs/pull/24144909:23:39
@drupol:matrix.orgPolMerci <309:38:59
7 Jul 2023
@drupol:matrix.orgPol Elis 🌱: The PR is to avoid such things: https://github.com/loophp/nix-shell/actions/runs/5479572069/jobs/9981620028 07:57:51
@drupol:matrix.orgPol This CI job tries to build a PHP version with all extensions enabled. 07:58:07
@drupol:matrix.orgPolI've already fixed a couple of stuff (see the merged pr in https://github.com/fossar/nix-phps/pulls?q=is%3Apr+is%3Aclosed).07:58:35
@etu:failar.nu@etu:failar.nuI see07:59:21
@drupol:matrix.orgPolActually, building php with all extensions enabled is a good thing, it helped me spotting the issues on Linux and Darwin.07:59:52
@drupol:matrix.orgPol The only extension that I'm unable to fix is couchbase. I guess I will come back to it later... but right now it's the only extension where I'm totally blocked. 08:00:27
@etu:failar.nu@etu:failar.nuDoes it work to set it like that? I'm not a big fan of having it separate from the inclusion of the package like that08:00:55

Show newer messages


Back to Room ListRoom Version: 6