17 Aug 2022 |
@janne.hess:helsinki-systems.de | I guess I only need this then:
figure out and update propagatedBuildInputs, buildInputs, etc
| 19:17:10 |
@janne.hess:helsinki-systems.de | Do you have any pointers? Is there even a way to distinguish between the propagated/regular inputs from the metacpan api? | 19:19:09 |
stigo | Yeah I've done some work on it | 19:19:13 |
stigo | (not committed yet, on the other laptop) | 19:19:25 |
stigo | Hm, was thinking to use checkInputs instead of buildInputs too btw | 19:19:49 |
@janne.hess:helsinki-systems.de | nice, could you share it once you get back to the other machine? :) | 19:19:57 |
stigo | META.json should be correct | 19:19:58 |
stigo | Yes ofc :) | 19:20:09 |
@janne.hess:helsinki-systems.de | Does that matter? I thought the doCheck is true by default | 19:20:17 |
stigo | Added you as collaborator on the repo btw if thats useful | 19:20:20 |
stigo | Not for cross builds for instance | 19:20:26 |
@janne.hess:helsinki-systems.de | hmmm I think I'll have to wrap my head around it more | 19:21:26 |
stigo | But for perl runtime dependencies you want them in propagatedBuildInputs | 19:21:28 |
stigo | .. but cross builds have problems with Module::Build and friends anyway, have a rough idea on what to try now that 5.36.0 is in | 19:22:03 |
@janne.hess:helsinki-systems.de | In reply to @stigo:matrix.org .. but cross builds have problems with Module::Build and friends anyway, have a rough idea on what to try now that 5.36.0 is in Oh that would be awesome! Although our dependency on Module::Tiny should shrink a lot when we automatically use buildPerlPackage | 19:22:47 |
stigo | have do do some $dayjob stuff now, (or $nightjob I guess it is soon) but can look at things a bit tomorrow eve | 19:23:18 |
@janne.hess:helsinki-systems.de | In reply to @stigo:matrix.org But for perl runtime dependencies you want them in propagatedBuildInputs so prereqs->configure + prereqs→build + prereqs→test into checkInputs and prereqs→runtime into propagatedBuildInputs ? | 19:23:41 |
@janne.hess:helsinki-systems.de | In reply to @stigo:matrix.org have do do some $dayjob stuff now, (or $nightjob I guess it is soon) but can look at things a bit tomorrow eve Thanks, have some day-fun :) | 19:24:00 |
stigo | probably build+configure into buildInputs | 19:24:05 |
@janne.hess:helsinki-systems.de | yeah makes sense, I'll wait for the stuff that is on your other laptop first | 19:24:25 |
stigo | But it's not always correct in CPAN modules, since most users dont have a clean separation between the phases when they build/install the modules | 19:24:49 |
stigo | Thx for looking at this btw 😁 | 19:25:25 |
@janne.hess:helsinki-systems.de | In reply to @stigo:matrix.org But it's not always correct in CPAN modules, since most users dont have a clean separation between the phases when they build/install the modules yay errata.conf goes brrrr | 19:25:43 |
@janne.hess:helsinki-systems.de | In reply to @stigo:matrix.org Thx for looking at this btw 😁 Thanks for your previous work ;) | 19:25:49 |
stigo | Also - this is the first implementation in Scala by volth, useful for reference-> https://github.com/stigtsp/cpan2nix | 19:27:25 |
@janne.hess:helsinki-systems.de | oh no I don't want to learn yet another language :D still struggling with rust and perl | 19:27:55 |
@qbit:tapenet.org | heh | 19:28:04 |
stigo | (i haven't attempted to run it) | 19:28:41 |
@janne.hess:helsinki-systems.de | In reply to @stigo:matrix.org (i haven't attempted to run it) I have horrible memories of building scala nix nixpkgs | 19:29:17 |
@qbit:tapenet.org | scala was interesting to me for a bit. but man i find it hard to read | 19:29:28 |