Nix PHP | 83 Members | |
| A room for PHP developers running on Nix | 25 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Apr 2022 | ||
In reply to @drupol:matrix.orgyou did https://github.com/NixOS/nixpkgs/pull/155012 | 18:07:14 | |
In reply to @andreas.schraegle:helsinki-systems.dewe usually prefer the official distribution method to reduce the chance of divergences. For PHP it is tarballs. | 18:09:50 | |
In reply to @jtojnar:matrix.orgAh that controversial one ! :) | 18:19:34 | |
| https://github.com/NixOS/nixpkgs/commit/52f8cf58a4504e5e219faebffa51033e400e3aec#r72228075 | 18:29:22 | |
| Pol: I added the master version here https://github.com/fossar/nix-phps/pull/104 | 19:15:52 | |
| but currently it fails to build | 19:16:03 | |
| and I run out of time to investigate | 19:17:30 | |
| Omg, checking this out | 19:20:52 | |
| Looks amazing | 19:28:03 | |
| Can't wait for tomorrow to review all of this. | 19:28:14 | |
| I think you should use a specific branch instead of master | 19:28:35 | |
| https://github.com/php/php-src/tree/PHP-8.1 | 19:29:35 | |
| Just for the sake of it, try with that branch | 19:30:02 | |
Pol: nix build --override-input php github:php/php-src/PHP-8.1 -L .#php-master should work | 19:40:59 | |
| Going to test tomorrow, this is my evening without computer 😅 | 19:56:43 | |
* Pol: nix build --override-input php-src github:php/php-src/PHP-8.1 -L .#php-master should work | 20:06:15 | |
| 27 Apr 2022 | ||
| I tried, but I'm unable to go further than this: https://dpaste.org/wDL4A | 09:34:32 | |
| 09:35:02 | |
| I guess this is because the build environment is jailed and cannot access the network, but I'm not sure yet. | 09:35:37 | |
| Besides that, nice work Jan, I really like your approach to this, very interesting. I hope we'll find a way to compile it. | 09:36:11 | |
| I had to use pdepend for a project, it wasn't in Nix, so I added it: https://github.com/NixOS/nixpkgs/pull/170614 <- needs review | 12:11:09 | |
| Pol: might also want to compare the git repo with the source tarball, maybe something is missing? | 12:20:21 | |
| I guess they are doing something once the tag as been set on Github. I don't have time today to check it out, but if it's needed, I'll find the time | 12:21:14 | |
| Maybe ramsey can tell us more? | 12:21:23 | |
| ramsey: Basically, we're trying to compile PHP from Github sources. At some point, we get an error that you see up there. I'm wondering what is done in the tarballs provided on php.net at each release so we can compile them successfully on Nix. | 19:21:10 | |
| Do you know anything about that? | 19:21:19 | |
That looks like it successfully built PHP, but it’s failing when running the PEAR installer. Is there a PHP binary at sapi/cli/php? If so, what do you see when you run ./sapi/cli/php -v? | 19:35:30 | |
| This is the error:
What was your full | 19:40:52 | |
| Is OpenSSL installed? If not, or if configure couldn’t find it, maybe you built PHP without the HTTPS wrapper? | 19:42:23 | |
| 28 Apr 2022 | ||
| Trying to answer your questions tonight | 16:46:25 | |