!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

71 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
22 Aug 2024
@drupol:matrix.orgPol piotrkwiecinski: https://github.com/composer/composer/pull/12090#discussion_r1726756464 10:16:38
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI saw the comment10:18:57
@piotrkwiecinski:matrix.orgpiotrkwiecinski
    $psr0 = $this->parseAutoloadsType($packageMap, 'psr-0', $rootPackage);
    $psr4 = $this->parseAutoloadsType($packageMap, 'psr-4', $rootPackage);
    $classmap = $this->parseAutoloadsType(array_reverse($sortedPackageMap), 'classmap', $rootPackage);
    $files = $this->parseAutoloadsType($sortedPackageMap, 'files', $rootPackage);
    $exclude = $this->parseAutoloadsType($sortedPackageMap, 'exclude-from-classmap', $rootPackage);
10:18:59
@piotrkwiecinski:matrix.orgpiotrkwiecinskipsr4 doesn't seem to use sorted map10:19:16
@piotrkwiecinski:matrix.orgpiotrkwiecinskimaybe this is the problem10:19:56
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI won't be able to test it for a couple hours10:20:08
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI have the last day before my annual leave and have to wrap up few things at work10:20:38
@piotrkwiecinski:matrix.orgpiotrkwiecinskihttps://github.com/composer/composer/blob/main/src/Composer/Autoload/AutoloadGenerator.php#L569-L58210:22:33
@piotrkwiecinski:matrix.orgpiotrkwiecinskiit's the block to debug10:23:08
24 Aug 2024
@rogierknoester:matrix.orgRogier Knoester joined the room.15:25:03
27 Aug 2024
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzHey guys, can someone have a look at this PHP PR? Packages firefly-iii data importer https://github.com/NixOS/nixpkgs/pull/33182319:42:47
28 Aug 2024
@fsagbuya:matrix.orgfsagbuya I also would like to follow up on this PR: https://github.com/NixOS/nixpkgs/pull/336044. Pol 02:48:41
2 Sep 2024
@drupol:matrix.orgPol piotrkwiecinski: Did you had the time to revisit the composer issue ? 17:25:08
@drupol:matrix.orgPolOn my side, big nope :(17:25:13
6 Sep 2024
@piotrkwiecinski:matrix.orgpiotrkwiecinski Pol: I just finished my vacations. Didn't have access to my laptop for almost 2 weeks. 16:54:58
7 Sep 2024
@drupol:matrix.orgPol
In reply to @piotrkwiecinski:matrix.org
Pol: I just finished my vacations. Didn't have access to my laptop for almost 2 weeks.
Lucky you
09:04:28
13 Sep 2024
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz left the room.15:29:43
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz joined the room.19:06:31
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.20:01:03
17 Sep 2024
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzHey all13:32:55
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzThere's an issue I've been tagged in (https://github.com/NixOS/nixpkgs/issues/342285#issuecomment-2353988357) where I think I know what's going wrong, but I don't know how to debug it.13:33:40
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz There seems to be an issue in the current version of composer on master wherein certain symlinks in the vendor directory aren't being generated properly. 13:34:16
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz So basically unless one doesn't set COMPOSER_MIRROR_PATH_REPOS = "1" in a php build, the package doesn't work properly. 14:18:28
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz * So basically unless one doesn't set COMPOSER_MIRROR_PATH_REPOS = "1" in a php package build, the package doesn't work properly. 14:18:36
@drupol:matrix.orgPol catman: Could you make the PR to set that variable by default? 14:46:04
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzIt's set to by default here https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/php/builders/v1/build-composer-project.nix14:54:48
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyz * It's set by default here https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/php/builders/v1/build-composer-project.nix14:54:53
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzI'll probably have to set it here https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/php/builders/v1/hooks/composer-install-hook.sh14:55:34
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzWould that work?14:55:37
@genghiz:talk.go7box.xyz@genghiz:talk.go7box.xyzBefore line 106, I think14:55:51

Show newer messages


Back to Room ListRoom Version: 6