!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
3 Apr 2023
@tgerbet:matrix.orgtgerbet * I created https://github.com/NixOS/nixpkgs/issues/224505 to track progress of the PHP 8.0 removal19:02:03
4 Apr 2023
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
Feel free to chime in https://github.com/NixOS/nixpkgs/pull/221845 as well, I would like to get this in as well.
Merged! Thanks Lars Strojny !
10:47:08
6 Apr 2023
@drupol:matrix.orgPolTIL that we can avoid using PHP session and still have persistent data across requests and responses using storageless session. Basically, sessions are stored in a cookie ! Very smart.20:40:34
@jtojnar:matrix.orgJan Tojnar Pol: well, then user can modify the session data, unless you authenticate it somehow 21:36:55
@jtojnar:matrix.orgJan Tojnaralso it increases the size of every HTTP request21:37:36
7 Apr 2023
@drupol:matrix.orgPolNo, the content of the session is wrapped in a signed jwt... So good luck...01:27:17
@drupol:matrix.orgPolOMC01:31:52
@drupol:matrix.orgPolHow is this possible? https://github.com/NixOS/nixpkgs/pull/22505401:32:02
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
Merged! Thanks Lars Strojny !
This is not widely available on Nix ! Please let us know if you encounter any issue.
09:19:58
@drupol:matrix.orgPol Jan Tojnar: Can you develop your last comment with FOD? I don't understand it 09:39:44
@jtojnar:matrix.orgJan Tojnar Pol: FODs must be reproducible – the hash of their output must remain the same 09:42:24
@jtojnar:matrix.orgJan Tojnarthat is not possible if the derivation output references other derivations, since when those derivations change, so would their output paths, and as a result, the output of the FOD09:43:27
@drupol:matrix.orgPolOooh FOD => Fixed Output Derivation !09:43:50
@drupol:matrix.orgPolWhat would you suggest to fix this then?09:44:05
@drupol:matrix.orgPolI'm playing on this in this PR : https://github.com/NixOS/nixpkgs/pull/22512909:44:21
@jtojnar:matrix.orgJan Tojnar Pol: you will need to split it into two derivations like we do in composition-c4 09:50:53
@drupol:matrix.orgPolI'm going to play with it.09:51:21
@drupol:matrix.orgPolI've also opened a new issue at composer/composer: https://github.com/composer/composer/issues/1142209:51:31
@jtojnar:matrix.orgJan Tojnar Pol: see https://github.com/composer/composer/issues/9768 for previous discussion 09:52:06
@drupol:matrix.orgPolWhat would I do without you Jan, THANKS !!!09:54:47
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
Pol: you will need to split it into two derivations like we do in composition-c4
If you have an example of derivation, it would be nice. I can't find composition-c4
09:55:44
@jtojnar:matrix.orgJan Tojnar Pol: I meant https://github.com/fossar/composition-c4 09:56:04
@jtojnar:matrix.orgJan Tojnar Pol: or an example in Nixpkgs https://nixos.org/manual/nixpkgs/stable/#python-package-using-setuptools-rust 09:57:12
@drupol:matrix.orgPolMerci09:57:46
@jtojnar:matrix.orgJan Tojnaralso there is some context in the composition-c4 readme: https://github.com/fossar/composition-c4#what-are-the-limitations10:01:41
@drupol:matrix.orgPolI did this: https://gist.github.com/drupol/22a98547bff80aaf5e9f236b2a4d0ab610:13:56
@drupol:matrix.orgPolBut it's failing and I can't figure out why yet.10:14:23
@drupol:matrix.orgPolimage.png
Download image.png
10:14:27
@drupol:matrix.orgPol Looks like ${vendor} doesn't contain anything in it. 10:14:40
@drupol:matrix.orgPolI'm pretty sure this is something stupid.10:15:16

Show newer messages


Back to Room ListRoom Version: 6