!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

78 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
7 Apr 2023
@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
@drupol:matrix.orgPol Jan Tojnar: Any clue on this ? ^^ 10:16:39
@jtojnar:matrix.orgJan Tojnar Pol: might be a Nix bug, try dontPatchShebangs = true in the vendor 10:19:48
@jtojnar:matrix.orgJan Tojnarthis one, IIRC https://github.com/NixOS/nix/issues/666010:20:49
@drupol:matrix.orgPolit works when I do that... thanks... I don't know how you find it out10:21:04
@jtojnar:matrix.orgJan TojnarI hit this issue in the past, took me a long time to figure out 😿10:21:44
@drupol:matrix.orgPolThanks mate10:22:40
@drupol:matrix.orgPolpushed the changes, now I'm going to wait for CI and see if it fixes the stuff.10:23:26

Show newer messages


Back to Room ListRoom Version: 6