Synthetica has quit [Quit: Connection closed for inactivity]
LnL has quit [Ping timeout: 268 seconds]
eadwu has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
sir_guy_carleton has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<yl[m]>
Hey guys, at work we're re-defining our entire workflow and currently Nix is responsible for the dev environments and the CI. We are moving towards a mono repo and we have decided to use Bazel (choice was between Bazel and nix-build). There's one question that I was not able to answer that pushed Bazel forward. Consider two binaries A and B both dependent on a library C and a commit that touches on C, can nix figure out that
<yl[m]>
we have to compile A and B (obviously yes)? But can we somehow get a printed list of A and B so we can build docker images for both and push them out?
eadwu has quit [Ping timeout: 252 seconds]
<lopsided98>
yl[m]: you'll probably get a better response in #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<yl[m]>
I'll try there
jtojnar has quit [Quit: jtojnar]
worldofpeace has quit [Ping timeout: 245 seconds]
tilpner has quit [Ping timeout: 250 seconds]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos-dev
<Profpatsch>
yl[m]: yeah, for a monorepo bazel is usually what you want.
<Profpatsch>
yl[m]: Out of interest, what languages are you working with?
<Synthetica>
philipp[m]: Other than update-backport?
orivej has quit [Ping timeout: 250 seconds]
<philipp[m]>
Synthetica: they are not shipping the upgrade for the version currently in stable, so it either needs to be patched in by nixos (might be pretty hard) or stable needs to be upgraded to at least 0.34.0.1.
orivej has joined #nixos-dev
<Mic92>
yorick: I was about to say the same
<Mic92>
philipp[m]: if there are patches, you can add it to the patches = [] list to apply them.
<Synthetica>
philipp[m]: I had a quick look, and the patch seems to mostly apply cleanly.
<Synthetica>
We could probably make this work with relatively little effort
<ekleog>
philipp[m]: matrix-synapse's version in stable has already been bumped in case of security issue
<ekleog>
its development is unstable enough for this to be possible
<ekleog>
now, if the backport is possible, it's likely best
symphorien has joined #nixos-dev
<ekleog>
… ok that'll be some vuln around macaroon handling, so something around authentication
drakonis_ has joined #nixos-dev
Drakonis__ has joined #nixos-dev
<ekleog>
philipp[m]: if you open a PR for the (backport of the) update feel free to ping me
<philipp[m]>
ekleog: currently afk but it's the first thing I'll do when I'm able. The backport shouldn't be a problem. I'm currently running my own version of 34 on stable.
drakonis has quit [Ping timeout: 258 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
<ekleog>
great! :)
nwspk has quit [Quit: Quit: *.banana *.split]
nwspk has joined #nixos-dev
gchristensen is now known as c
c is now known as gchristensen
Drakonis__ has quit [Read error: Connection reset by peer]
<joko>
Anyone with Hydra access? This job https://hydra.nixos.org/build/86902287 is finishing correctly on my machine, could anyone clear the failed builds cache?
genesis has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
Cale has joined #nixos-dev
eadwu has joined #nixos-dev
obadz has quit [Quit: WeeChat 2.3]
orivej has quit [Ping timeout: 272 seconds]
<thoughtpolice>
dtz: asking out of curiosity since you might know -- with the new pkgsMusl/pkgsStatic framework, can I just use e.g. pkgs.pkgsStatic.llvmPackages.stdenv and get a magical LLVM-based toolchain for my projects that can static link? Does that work yet?
worldofpeace has joined #nixos-dev
<thoughtpolice>
Oh, it does! I thought I had this worked out before (I did!) but I can't remember why I was asking. I even wrote about it. Busy holidays.
hedning has quit [Quit: hedning]
tilpner has quit [Ping timeout: 268 seconds]
<dtz>
**does** that work?? There are likely bits that don't yet AFAIK but glad that does!
<dtz>
busy indeed :)
orivej has joined #nixos-dev
<gchristensen>
wow..!
eadwu has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos-dev
<thoughtpolice>
If what I wrote a month ago is accurate then yes but I think it might have broken recently somehow.
<thoughtpolice>
Luckily I included a nixpkgs hash in my notes.