Nix PHP | 80 Members | |
| A room for PHP developers running on Nix | 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Jun 2022 | ||
* (see the relevant lines in fossar/nix-phps: https://github.com/fossar/nix-phps/blob/master/pkgs/package-overrides.nix#L291 ) | 10:17:24 | |
| We are doing:
| 10:17:44 | |
But that is not working anymore since the version parameter is gone. | 10:17:57 | |
* It broke the oci8 extension in fossar/nix-phps and also loophp/nix-shell. I'm looking for a way to fix this. | 10:22:39 | |
| You'd need to overrideAttributes rather then override the inputs as you do | 10:25:18 | |
| trying. | 10:25:30 | |
| 10:26:10 | |
| Something like that | 10:26:14 | |
yep, seems to work, but for some reason, it's not picking the proper version of oci8. | 10:27:53 | |
For some reason, it takes oci8 3.0.1 for php74. Weird. Investigating. | 10:29:32 | |
And also for php56. Damn. what is going on. | 10:30:16 | |
| 10:30:57 | |
| Code should be fine, wondering where it could come from. | 10:31:10 | |
| Oh. | 10:34:26 | |
| Even when I do: | 10:34:30 | |
| 10:34:36 | |
| It is still picking up | 10:34:40 | |
| * It is still picking up 3.0.1. | 10:34:43 | |
| PR has been created: https://github.com/fossar/nix-phps/pull/116 | 10:39:46 | |
| But there is still an issue, I'll wait from feedback from etu or Jan Tojnar . | 10:40:03 | |
| Do you have another clue etu ? | 12:01:50 | |
| Not at the moment, very busy | 12:13:47 | |
| Issue fixed ! | 13:19:27 | |
| 25 Jun 2022 | ||
Download image.png | 07:51:20 | |
| PR: https://github.com/fossar/nix-phps/pull/118 | 10:55:37 | |
| 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 | |
| * 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 | |
| I also wrote @pierrick about those 8.2.0alpha2 builds. | 11:56:34 | |
| They’re not automated. We run a script that packages the tarballs and creates the configure script | 16:12:59 | |
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 | |