!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

73 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
13 Aug 2024
@piotrkwiecinski:matrix.orgpiotrkwiecinskialso is it ok to go to master?18:28:30
@piotrkwiecinski:matrix.orgpiotrkwiecinskiit has fair bit of rebuilds18:28:36
@drupol:matrix.orgPol yes master is fine. 18:29:01
@piotrkwiecinski:matrix.orgpiotrkwiecinski
> calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot'
       > Running phase: patchPhase
       > applying patch /nix/store/r2bw91ma55jqnlv51iwck17f05i1c76x-fix-paths-php7.patch
       > patching file ext/gettext/config.m4
18:29:07
@piotrkwiecinski:matrix.orgpiotrkwiecinskithis one is in generic.nix18:29:16
@drupol:matrix.orgPolyes, since quite a while18:30:15
@piotrkwiecinski:matrix.orgpiotrkwiecinskihttps://github.com/php/php-src/commit/c2d6edc4854b036a94e28b495ccbc1b652649b0218:57:21
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI think it's the cause18:57:26
@piotrkwiecinski:matrix.orgpiotrkwiecinskifor the gettext failure18:57:48
@piotrkwiecinski:matrix.orgpiotrkwiecinskiwe'll have to prepare a new patch for 8.418:58:07
@piotrkwiecinski:matrix.orgpiotrkwiecinskialpha4 was released 2 weeks ago and doesn't have this code yet19:08:58
@piotrkwiecinski:matrix.orgpiotrkwiecinskibut beta1 was tagged today19:09:12
@piotrkwiecinski:matrix.orgpiotrkwiecinskiI'll see if I can prepare the patch for gettext later this week19:09:35
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

Show newer messages


Back to Room ListRoom Version: 6