!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
14 Aug 2024
@piotrkwiecinski:matrix.orgpiotrkwiecinskidamn patches :D13:16:03
@piotrkwiecinski:matrix.orgpiotrkwiecinski

I have a fix on local for gettext but ext-dom fails with beta1 build

   > Running phase: patchPhase
       > applying patch /nix/store/hqrpdj07y97vwiyy29jizcsmvx9hdnys-8d7365b6f009ba43e305d6459013ac4fbed7c606.diff?full_index=1
       > patching file ext/dom/tests/modern/extensions/Element_substitutedNodeValue.phpt
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 2 out of 2 hunks ignored -- saving rejects to file ext/dom/tests/modern/extensions/Element_substitutedNodeValue.phpt.rej
13:17:05
@piotrkwiecinski:matrix.orgpiotrkwiecinskimaybe its because try to apply a patch to for alpha113:18:59
@drupol:matrix.orgPol#facepalm13:21:24
@piotrkwiecinski:matrix.orgpiotrkwiecinskiif I'm not mistaken 8.4 is scheduled for the next staging-next merge13:22:33
@piotrkwiecinski:matrix.orgpiotrkwiecinskiso we'll have to wait a bit till I can update it to beta113:22:51
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI'll have update prepared13:23:15
@drupol:matrix.orgPol
In reply to @piotrkwiecinski:matrix.org
if I'm not mistaken 8.4 is scheduled for the next staging-next merge
it has been merged this morning, so it's coming very soon.
13:24:14
@piotrkwiecinski:matrix.orgpiotrkwiecinskiIs this correct syntax ?13:27:59
@piotrkwiecinski:matrix.orgpiotrkwiecinski
      patches = lib.optional (lib.versionOlder version "8.4.0beta1")  [
        ./fix-paths-php7.patch
      ] ++ lib.optional (lib.versionAtLeast version "8.4.0beta1") [
        ./fix-paths-php84.patch
      ] ++ extraPatches;
13:28:00
@piotrkwiecinski:matrix.orgpiotrkwiecinskiif this works as expected i can PR it earlier 13:28:50
@piotrkwiecinski:matrix.orgpiotrkwiecinskiok seems to build13:31:37
@drupol:matrix.orgPolno13:31:40
@drupol:matrix.orgPol By using lib.optional <predicate> [ ], you're wrapping twice. 13:32:04
@drupol:matrix.orgPol In this case, you have to use lib.optionals <predicate> [ ] 13:32:20
@drupol:matrix.orgPol (hense the s) 13:32:28
@piotrkwiecinski:matrix.orgpiotrkwiecinskisomehow it built without s too13:34:28
@piotrkwiecinski:matrix.orgpiotrkwiecinskiand applied the patch13:34:40
@piotrkwiecinski:matrix.orgpiotrkwiecinskion I changed it to s13:35:53
@piotrkwiecinski:matrix.orgpiotrkwiecinskiso in theory it shouldn't break current 8.4.0alpha1 13:36:21
@drupol:matrix.orgPolWe can already use beta1 I think13:40:12
@piotrkwiecinski:matrix.orgpiotrkwiecinskiwe have alpha13:40:24
@drupol:matrix.orgPolbeta1 : https://downloads.php.net/~calvinb/13:40:45
@piotrkwiecinski:matrix.orgpiotrkwiecinskialpha413:40:47
@drupol:matrix.orgPolalpha4 and beta1 are available13:40:55
@piotrkwiecinski:matrix.orgpiotrkwiecinskiin our repo i mean13:40:58
@drupol:matrix.orgPolah ok13:41:02
@drupol:matrix.orgPol#324831 php84: init at 8.4.0alpha1 ✅ staging-next ✅ master ✅ nixos-unstable-small ⏳nixos-unstable ⏳nixpkgs-unstable13:42:41
@drupol:matrix.orgPolIt will be soon available on nixos-unstable!13:42:54
@piotrkwiecinski:matrix.orgpiotrkwiecinskiit's in master so I can PR update to beta13:43:56

Show newer messages


Back to Room ListRoom Version: 6