!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

79 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
3 Jul 2023
@drupol:matrix.orgPol patchelf --print-rpath "$out/lib/php/extensions/couchbase.so" ? 12:58:58
@jtojnar:matrix.orgJan Tojnar Pol: yeah, it should be the one it complains about 13:45:17
@drupol:matrix.orgPol(it's building since 3pm...)13:50:59
@drupol:matrix.orgPol The postInstall hook doesn't get triggered because of the issue in post-installation fixup. 14:02:30
@drupol:matrix.orgPol php-couchbase> buildPhase completed in 56 minutes 12 seconds 14:02:49
@drupol:matrix.orgPolThat's painful.14:02:52
@jtojnar:matrix.orgJan Tojnar Pol: remove the third party stuff 17:33:40
@jtojnar:matrix.orgJan Tojnaryou are building ten different libraries17:33:51
@drupol:matrix.orgPolIt's worse.18:04:06
@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

Show newer messages


Back to Room ListRoom Version: 6