--- Log opened Tue Jul 09 00:00:06 2019
00:12 < nothingmuch> dongcarl: i haven't gotten that far yet, but w/ --target do you see a simpler way than --expose of the build output directories?
03:42 < dongcarl> nothingmuch: I think expose is only for `guix environment` and target is only for `guix build`
03:45 < nothingmuch> i meant in guix build, for building the bitcoin source before that is a package
03:46 < nothingmuch> so if using guix build --target=$host zlib, how to inject the static output of that into the build environment
03:47 < nothingmuch> (unless i'm missing something basic about how that can be specified in the manifest?)
03:47 < dongcarl> nothingmuch: Use a manifest or specify it `--ad-hoc`?
03:50 < nothingmuch> if it's possible to specify target per package i didn't find a documented syntax
03:53 < dongcarl> nothingmuch: I'm confused, are you saying you've successfully built depends for a host, and want to pass that into a `guix environment`?
03:54 < nothingmuch> successfully built one dependency for a host (actually all but riscv), and yes i want to pass that into a guix environment
03:55 < nothingmuch> the other main alternative i can think of to sharing dirs from /gnu/store directly is guix pack
03:55 < dongcarl> nothingmuch: Just curious, why do you want to pass it into the guix environment?
03:56 < nothingmuch> so that the bitcoin build can link against the outputs
03:57 < dongcarl> nothingmuch: okay, but why not just use a native guix package for bitcoin?
03:57 < dongcarl> since that will know all about targets and inputs and all those
03:57  * dongcarl is excited about the progress
03:58 < nothingmuch> i figured 1 step at a time
03:58 < nothingmuch> pivoting to adapting guix's bitcoin-core package seems plausible too
03:58 < dongcarl> nothingmuch: Yeah, I just updated guix's bitcoin-core package yesterday on core-updates
03:58 < dongcarl> it's really simple to understand
03:58 < nothingmuch> but currently my plan was to keep using your {guix,}build.sh
03:59 < dongcarl> nothingmuch: Try the bitcoin-core package, you might be pleasantly surprised :-)
04:00 < nothingmuch> by the updates? i've used it before
04:00 < nothingmuch> how far is the update of guix pack bitcoin-core --target from releasable tarballs?
04:00 < nothingmuch> s/update/output/;
04:01 < dongcarl> nothingmuch: Far, but only because of the dynamic libs it needs
04:01 < dongcarl> nothingmuch: try it with your depends tree
04:01 < dongcarl> It'll be much less trouble than getting it in an environment I believe
04:03 < nothingmuch> will do
04:04  * dongcarl is very excited
04:04 < fanquake> Mate, don’t get over excited
04:04  * dongcarl explodes with excitement
04:04 < nothingmuch> fwiw in this case i basically did nothing, given most of my efforts were cheating guix's cross compilation support to use your toolchain meta packages ;-)
04:05 < fanquake> 🧨
04:05 < dongcarl> nothingmuch: Oh wait why did you have to use my toolchain meta packages instead of guix's cross compilation support?
04:05 < nothingmuch> we probably just want to inherit or use inferiors in order to pin deps to what's needed, in particular bdb, and override configure flags to match depends/packages/*.mk
04:07 < nothingmuch> i was trying to do the smallest change to the working build.sh based thing, as i don't fully understand the justifications for their existence
04:07 < nothingmuch> afaict it's: 1. overriding propagated output of glibc 2. riscv support
04:07 < nothingmuch> erm, propagated *input*
04:08 < nothingmuch> but before you explained yesterday i thought there were additional reasons why guix's cross toolchain wasn't used to begin with
04:08 < dongcarl> nothingmuch: Ah... I think you want to use Guix's cross toolchain actually.
04:09 < dongcarl> Lemme DM you
05:05 -!- jonatack100 [d598a123@213.152.161.35] has joined #bitcoin-builds
05:37 -!- jonatack100 [d598a123@213.152.161.35] has quit [Remote host closed the connection]
11:50 -!- hebasto [~hebasto@95.164.65.194] has quit [Remote host closed the connection]
--- Log closed Tue Jul 09 11:51:00 2019
--- Log opened Tue Jul 09 11:51:00 2019
21:35 < fanquake> dongcarl as part of the stretch in 16354 I'm currently slimming down Qt
--- Log closed Wed Jul 10 00:00:06 2019