!sUXcTulPzyhnqOiFPL:helsinki-systems.de

NixOS Perl

49 Members
13 Servers

Load older messages


SenderMessageTime
17 Aug 2022
@janne.hess:helsinki-systems.de@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@janne.hess:helsinki-systems.deDo you have any pointers? Is there even a way to distinguish between the propagated/regular inputs from the metacpan api?19:19:09
@stigo:matrix.orgstigoYeah I've done some work on it19:19:13
@stigo:matrix.orgstigo(not committed yet, on the other laptop)19:19:25
@stigo:matrix.orgstigoHm, was thinking to use checkInputs instead of buildInputs too btw19:19:49
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.denice, could you share it once you get back to the other machine? :)19:19:57
@stigo:matrix.orgstigoMETA.json should be correct19:19:58
@stigo:matrix.orgstigoYes ofc :)19:20:09
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Does that matter? I thought the doCheck is true by default 19:20:17
@stigo:matrix.orgstigoAdded you as collaborator on the repo btw if thats useful19:20:20
@stigo:matrix.orgstigoNot for cross builds for instance19:20:26
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.dehmmm I think I'll have to wrap my head around it more19:21:26
@stigo:matrix.orgstigoBut for perl runtime dependencies you want them in propagatedBuildInputs19:21:28
@stigo:matrix.orgstigo.. 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 in19:22:03
@janne.hess:helsinki-systems.de@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:matrix.orgstigohave do do some $dayjob stuff now, (or $nightjob I guess it is soon) but can look at things a bit tomorrow eve19:23:18
@janne.hess:helsinki-systems.de@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@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:matrix.orgstigoprobably build+configure into buildInputs19:24:05
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deyeah makes sense, I'll wait for the stuff that is on your other laptop first19:24:25
@stigo:matrix.orgstigoBut it's not always correct in CPAN modules, since most users dont have a clean separation between the phases when they build/install the modules19:24:49
@stigo:matrix.orgstigoThx for looking at this btw 😁19:25:25
@janne.hess:helsinki-systems.de@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@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:matrix.orgstigoAlso - this is the first implementation in Scala by volth, useful for reference-> https://github.com/stigtsp/cpan2nix19:27:25
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deoh no I don't want to learn yet another language :D still struggling with rust and perl19:27:55
@qbit:tapenet.org@qbit:tapenet.orgheh19:28:04
@stigo:matrix.orgstigo(i haven't attempted to run it)19:28:41
@janne.hess:helsinki-systems.de@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@qbit:tapenet.orgscala was interesting to me for a bit. but man i find it hard to read19:29:28

Show newer messages


Back to Room ListRoom Version: 9