!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

75 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
22 Jun 2023
@drupol:matrix.orgPolhere we go:07:01:29
@drupol:matrix.orgPol
  version = "8.3.0";
  hash = "";
  base = (callPackage ./generic.nix (_args // {
    inherit version hash;
  })).overrideAttrs (oldAttrs: {
    src = (fetchurl {
      url = "https://downloads.php.net/~eric/php-8.3.0alpha2.tar.xz";
      hash = "";
    });
  });
07:01:32
@drupol:matrix.orgPolGot a new comment: https://github.com/php/php-src/issues/11408#issuecomment-160174501207:02:52
@drupol:matrix.orgPolI'm compiling alpha207:07:12
@drupol:matrix.orgPol I'll see if fileinfo is building 07:07:38
@drupol:matrix.orgPol But is still there in alpha2 07:08:29
@drupol:matrix.orgPolTrying the proposed patch.07:08:34
@drupol:matrix.orgPolNope, same issue07:16:12
@drupol:matrix.orgPol
  version = "8.3.0";
  hash = "";
  base = (callPackage ./generic.nix (_args // {
    inherit version hash;
  })).overrideAttrs (oldAttrs: {
    src = (fetchurl {
      url = "https://downloads.php.net/~eric/php-8.3.0alpha2.tar.xz";
      hash = "sha256-YLCxgiDcsBisOmAodf0h8HyaCIh+4i1Q7QZw/h4KR5I=";
    });

    patches = [
      ./fileinfo.patch
    ];
  });
07:16:32
@drupol:matrix.orgPol tgerbet: I need to leave, I'll be back in the afternoon 07:31:34
@drupol:matrix.orgPolI just posted this comment: https://github.com/php/php-src/issues/11408#issuecomment-160215049207:31:48
@drupol:matrix.orgPolWe'll see... 07:31:52
@drupol:matrix.orgPolOk I got it working09:31:01
@drupol:matrix.orgPolGoing to post a PR in a few minutes.09:31:07
@drupol:matrix.orgPolReady for review: https://github.com/NixOS/nixpkgs/pull/23915110:15:35
@tgerbet:matrix.orgtgerbet I see in your change that I forgot to cleanup some lib.versionAtLeast php.version "8.1" conditions with the PHP 8.0 removal πŸ˜“ 14:44:34
@drupol:matrix.orgPolCa arrive mΓͺme aux meilleurs ;)😁15:42:06
@drupol:matrix.orgPolAnd also, there's some leftovers of php 8.0 in php-probe.nix (blackfire extension).17:47:21
@drupol:matrix.orgPolThere's an issue with the php-probe extension... 18:39:18
@drupol:matrix.orgPolhttps://gist.github.com/GrahamcOfBorg/eb307c2a2e15412c65011c546ceb982d18:39:21
@drupol:matrix.orgPol What's the flag to add in the metadata to disable it for php 8.3 ? I used broken but it's not the good one I think. 18:40:15
@drupol:matrix.orgPolThat issue is preventing me from merging PHP 8.3 right now18:44:36
@tgerbet:matrix.orgtgerbet

Maybe move the blackfire attribute into something optional? Something like

// lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) {
  blackfire = ...
}
19:07:42
@drupol:matrix.orgPolWhere ? I haven't seen that 19:16:18
23 Jun 2023
@drupol:matrix.orgPolPHP 8.3 PR is ready for your review/merge at: https://github.com/NixOS/nixpkgs/pull/23915106:57:55
@drupol:matrix.orgPolI'm not satisfied with how the blackfire extension is managed, but I guess this is something I will likely refine very soon06:58:51
@drupol:matrix.orgPolAnything left to do in here before I leave ? ^^16:32:11
@tgerbet:matrix.orgtgerbetToo tired after a day of meetings but I will take a look tomorrow πŸ™‚16:38:56
@tgerbet:matrix.orgtgerbetYou might want to fetchpatch the patch fixing the build of fileinfo, it just got merged upstream16:39:44
@drupol:matrix.orgPolOh good idea. Doing it right now.16:44:04

Show newer messages


Back to Room ListRoom Version: 6