!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
14 Apr 2023
@jtojnar:matrix.orgJan Tojnarthen it should be usable in shebangs just fine19:45:54
@drupol:matrix.orgPolwhot ?!19:46:06
@jtojnar:matrix.orgJan Tojnarreplace makeWrapper with makeBinaryWrapper19:46:21
@drupol:matrix.orgPolOh it's not done yet, going to do it and test.19:46:37
@jtojnar:matrix.orgJan Tojnar also for the installation into $out/bin, instead of manual symlinking, is there a way to convince composer install to create the links there instead of in vendor/.bin? Then we would not even need to bother with postInstall. 19:48:13
@drupol:matrix.orgPolLet's do this fine tuning later on19:48:45
@drupol:matrix.orgPolI want to make sure that I'm doing something stupid in this PR19:48:58
@drupol:matrix.orgPolI'm pretty excited about it19:49:07
@drupol:matrix.orgPol Jan Tojnar: THANKS ! It solved the issue :) 19:52:10
15 Apr 2023
@drupol:matrix.orgPol I replace most of PHP PHAR distribution derivation with their source. The only remaining one is psalm, I can't get it working. 17:06:26
@drupol:matrix.orgPolFind the PR at https://github.com/NixOS/nixpkgs/pull/22540117:07:08
@drupol:matrix.orgPolReviews are welcome17:07:17
@drupol:matrix.orgPol There is also a remark about deployer in the OP message. 17:07:37
@drupol:matrix.orgPol Jan Tojnar: unable to use the tag in `src` for deployer. It's missing from the repo. 18:07:28
@jtojnar:matrix.orgJan Tojnar Pol: notice the ^ 18:07:58
@drupol:matrix.orgPolOmg18:08:04
@drupol:matrix.orgPolSo smart18:08:12
@drupol:matrix.orgPolWill do it18:08:15
@drupol:matrix.orgPolAfter lunch.18:08:21
@drupol:matrix.orgPolFixed !19:04:44
@jtojnar:matrix.orgJan Tojnar Pol: regarding the programs, https://getcomposer.org/doc/articles/vendor-binaries.md#can-vendor-binaries-be-installed-somewhere-other-than-vendor-bin- 19:18:08
@drupol:matrix.orgPolyes?19:18:17
@jtojnar:matrix.orgJan Tojnar COMPOSER_BIN_DIR should work 19:18:47
@jtojnar:matrix.orgJan Tojnaror is that just for dependencies?19:19:23
@drupol:matrix.orgPolWait, I don't understand what you're trying to explain here19:24:31
@drupol:matrix.orgPolI don't think this is a good idea19:35:47
@drupol:matrix.orgPolFor example, if we take PHPUnit, 19:36:02
@drupol:matrix.orgPol The binary is not inside bin/ 19:36:14
@drupol:matrix.orgPolhttps://github.com/sebastianbergmann/phpunit/blob/main/composer.json19:36:34
@drupol:matrix.orgPol That said, there is a bin attribute in the composer.json. 19:37:09

Show newer messages


Back to Room ListRoom Version: 6