Nix PHP | 81 Members | |
| A room for PHP developers running on Nix | 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Apr 2023 | ||
In reply to @jtojnar:matrix.orgWhere ? | 11:10:13 | |
In reply to @jtojnar:matrix.orgI'm also not sure how Composer behaves with things like Git LFS and submodules. It would also requires dealing with the things the "traditional" fetchers are dealing with like the path to the CA bundle, proxy information... Even with all of that I'm not sure it is currently possible to tell Composer to use only the dist tarball or the source for package proposing both. If I remember correctly even with --fetch-dist it will try to fallback to to the source if the dist tarball cannot be retrieved for some reasons | 11:23:16 | |
| https://planttext.com/api/plantuml/png/hP7D2i8m48JlUOg0ju3w0gKKl7YIujNsa3IhHjDisAHetzxK7ugWFVMukxFVC4mHegJO6gTRwHaBL-CuOG3612-tPUKssFeqK-K8FA7k6gECDR5F2i7ta8uc8lMLorH-C_7Cc_V7oc9ppTOgJq8nRYy1tIYMNKIBKWCjFS7Ht3yFuh0u4O2h1u-dhrGM9b3OnKaQWQxv3YEdRzwl30DhjXZ_ZESDmWf87RvwV000 | 11:32:25 | |
| here's a diagram summarizing the situation with composer. | 11:32:35 | |
| ugh, that will not be reproducible then, GitHub filters out stuff from the tarballs according to .gitattributes so dist archives will commonly be different from vcs checkout | 11:33:13 | |
| Yep and it's something that is often used in the packages to filter out tests in the dist tarballs for example | 11:34:52 | |
| 9 Apr 2023 | ||
| I'm going to try to build a builder for PHP apps, where would you add this new function ? In which file? Any advice are good here :) | 08:43:29 | |
| Oh my. | 09:42:54 | |
| I got it working. | 09:42:57 | |
| Here's what I succeeded to do in 30 minutes:
| 09:43:29 | |
| I don't know what you think, but I just found this amazing for the PHP ecosystem ! | 09:44:07 | |
| * Here's what I succeeded to do in 30 min, with the
| 09:46:19 | |
| * Here's what I succeeded to do in 30 min, with the
| 09:46:52 | |
| * Here's what I succeeded to do in 30 min, with the
| 09:49:48 | |
| I pushed my draft here: https://github.com/NixOS/nixpkgs/pull/225401 | 09:58:06 | |
| My Easter sunday starts very well :D | 09:59:46 | |
| I'm pretty sure the excitement will drop down after some reviews anyway :D | 10:00:02 | |
| 17:47:02 | ||
| 17:47:49 | ||
Jan Tojnar: I tried the finalAttrs: pattern... but I can't get it to work. | 19:06:45 | |
| Redacted or Malformed Event | 19:10:32 | |
Jan Tojnar: I can't use the builder outside of the PHP packages scope... example, how can I use buildPHPproject for PHPActor ? (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/phpactor/default.nix) | 19:17:36 | |
| When I try to add it in the first line, I get: | 19:17:53 | |
error: evaluation aborted with the following error message: 'Function called without required argument "buildPHPproject" at /nix/store/qa7zxpw9g2qixsqblaga7hsasqhs65kb-source/pkgs/development/tools/phpactor/default.nix:1' | 19:18:24 | |
| 10 Apr 2023 | ||
Pol: it is defined inside php.packages scope | 09:20:49 | |
| not top-level | 09:20:57 | |
| How should I call this for phpactor which is out of the php.packages scope then ? | 09:33:23 | |
take php as argument to the package and use php.packages.buildPhpProject | 09:34:58 | |
| 11 Apr 2023 | ||
| Jan Tojnar: I tried, doesn't work at all. I don't know what's the problem | 07:06:51 | |
Download image.png | 07:17:43 | |