!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
23 Jun 2022
@etu:semi.socialetuYou'd need to overrideAttributes rather then override the inputs as you do10:25:18
@drupol:matrix.orgPoltrying.10:25:30
@etu:semi.socialetu
prev.extensions.oci8.overrideAttributes (oa: {
  version = "....";
  sha256 = "...";
});
10:26:10
@etu:semi.socialetuSomething like that10:26:14
@drupol:matrix.orgPol yep, seems to work, but for some reason, it's not picking the proper version of oci8. 10:27:53
@drupol:matrix.orgPol For some reason, it takes oci8 3.0.1 for php74. Weird. Investigating. 10:29:32
@drupol:matrix.orgPol And also for php56. Damn. what is going on. 10:30:16
@drupol:matrix.orgPol
    oci8 =
      if lib.versionOlder prev.php.version "7.0" then
        prev.extensions.oci8.overrideAttrs (attrs: {
          version = "2.0.12";
          sha256 = "1khqa7fs8dbyjclx05a5ls1f8paw1ij21qwlx3v7p8i3iqhnymkj";
        })
      else if lib.versionOlder prev.php.version "8.0" then
        prev.extensions.oci8.overrideAttrs (attrs: {
          version = "2.2.0";
          sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd";
        })
      else
        prev.extensions.oci8;
10:30:57
@drupol:matrix.orgPolCode should be fine, wondering where it could come from.10:31:10
@drupol:matrix.orgPolOh.10:34:26
@drupol:matrix.orgPolEven when I do:10:34:30
@drupol:matrix.orgPol
    oci8 = prev.extensions.oci8.overrideAttrs (attrs: {
      version = "2.2.0";
      sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd";
    });
10:34:36
@drupol:matrix.orgPolIt is still picking up 10:34:40
@drupol:matrix.orgPol * It is still picking up 3.0.1.10:34:43
@drupol:matrix.orgPolPR has been created: https://github.com/fossar/nix-phps/pull/11610:39:46
@drupol:matrix.orgPol But there is still an issue, I'll wait from feedback from etu or Jan Tojnar . 10:40:03
@drupol:matrix.orgPol Do you have another clue etu ? 12:01:50
@etu:semi.socialetuNot at the moment, very busy12:13:47
@drupol:matrix.orgPolIssue fixed !13:19:27
25 Jun 2022
@drupol:matrix.orgPolimage.png
Download image.png
07:51:20
@drupol:matrix.orgPolPR: https://github.com/fossar/nix-phps/pull/11810:55:37
@drupol:matrix.orgPol ramsey: Hi mate, I got a question for you. A couple of weeks ago, Jan Tojnar and I were trying to add PHP snapshots to Nix. In order to do that, we were using the official Github repository as source. It turns out that it's very complicated to build PHP from the Github repository and mush easier to build it from official releases on PHP.net. Example, this morning, I added PHP 8.2 without any single trouble. Now the question is the following... Do you know if those releases on PHP.net are automatised? If yes, do you provide any kind of snapshot release somewhere? (something that would follow the commits on Github and get build automatically). 11:11:58
@drupol:matrix.orgPol * ramsey: Hi mate, I got a question for you. A couple of weeks ago, Jan Tojnar and I were trying to add PHP snapshots to Nix. In order to do that, we were using the official Github repository as source. It turns out that it's very complicated to build PHP from the Github repository and mush easier to build it from official releases on PHP.net. Example, this morning, I added PHP 8.2 without any single trouble. Now the question is the following... Do you know if those releases on PHP.net are automatised? If yes, do you provide any kind of snapshot release somewhere? (something that would follow the commits on Github and get build automatically). Basically, something like https://downloads.php.net/~pierrick/ automatically generated at every commit. 11:13:54
@drupol:matrix.orgPolI also wrote @pierrick about those 8.2.0alpha2 builds.11:56:34
@ramsey:matrix.orgramsey They’re not automated. We run a script that packages the tarballs and creates the configure script 16:12:59
@ramsey:matrix.orgramsey The only difference between building from the repo and building from the tarball is that you have to run buildconf first when building from the repo. That script is what generates configure. 16:14:48
@ramsey:matrix.orgramseyThe steps for the release process are here: https://github.com/php/php-src/blob/master/docs/release-process.md16:16:11
@drupol:matrix.orgPolmmh interesting, could be nice to automate this process :)16:35:37
@drupol:matrix.orgPolI just published a new Nix flake package for generating changelogs: https://github.com/loophp/nix-auto-changelog17:53:37
@drupol:matrix.orgPolOne less dependency to Docker :)17:56:26

Show newer messages


Back to Room ListRoom Version: 6