gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
sir_guy_carleton has joined #nixos-dev
drakonis has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-dev
bgamari has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 252 seconds]
drakonis_ has quit [Ping timeout: 250 seconds]
bgamari has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
bgamari has joined #nixos-dev
sir_guy_carleton has quit [Ping timeout: 250 seconds]
sir_guy_carleton has joined #nixos-dev
sir_guy_carleton has quit [Ping timeout: 268 seconds]
sir_guy_carleton has joined #nixos-dev
sir_guy_carleton has quit [Ping timeout: 246 seconds]
drakonis1 has quit [Quit: WeeChat 2.3]
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
sir_guy_carleton has joined #nixos-dev
pie___ has joined #nixos-dev
pie__ has quit [Ping timeout: 250 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
init_6 has quit []
init_6 has joined #nixos-dev
moredread[m] has joined #nixos-dev
moredread[m] has left #nixos-dev ["User left"]
moredread[m] has joined #nixos-dev
init_6 has quit [Ping timeout: 240 seconds]
init_6 has joined #nixos-dev
init_6 has quit [Ping timeout: 246 seconds]
lopsided98 has quit [Ping timeout: 268 seconds]
lopsided98 has joined #nixos-dev
<timokau[m]> How does hydra figure out the build time? Does nix store that somewhere?
orivej has joined #nixos-dev
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 250 seconds]
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
v0|d has joined #nixos-dev
<srhb> timokau[m]: There's a starttime and a stoptime in builds, presumably it's derived from that.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Read error: Connection timed out]
orivej has joined #nixos-dev
<timokau[m]> How does it know that? Or does it somehow figure out the dependency tree on its own and then builds everything individually?
<LnL> hydra builds derivations (steps) separately and tracks those AFAIK
<LnL> build logs and timeouts are nix features but I don't think build time is
<edef> okay.. nixos-build-vms seems rather broken on 4.19
<edef> hyde# switch_root: can't execute '/nix/store/ad4zkhd6nccl0yyjwg7jvna5570n50ls-nixos-system-hyde-19.03.git.8a212a480bcM/init': Operation not permitted
<edef> 4.14 seems fine
<edef> presumably something about the 9p nix store is broken
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Client Quit]
orivej has joined #nixos-dev
<timokau[m]> LnL: How does it figure out the right order to build those?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
pie__ has joined #nixos-dev
pie___ has quit [Remote host closed the connection]
<edef> mounting overlay filesystem on /nix/store...
<edef> switch_root: can't execute '/init': No such file or directory
<edef> :|
<edef> this is a little concerning because it's breaking nixos-build-vms and nixos-rebuild build-vm on my system
<gchristensen> I think aszlig has been tracking an issue on that
<aszlig> edef: yes, this is a overlayfs regression in kernel 4.19
<edef> oh?
<edef> i was looking for issues but had no luck
<aszlig> edef: reverting a6518f73e60e5044656d1ba587e7463479a9381a fixes this...
<edef> do we have a github issue for this
<aszlig> edef: but that revert is just a workaround, because the overlayfs open callback should handle this
<aszlig> edef: emphasis is on "should" :-/
<edef> mmm
<edef> i just want to use nixos-build-vms so i can test my wireguard patches
<aszlig> edef: unfortunately i haven't yet been able to reproduce the *exact* cause
<edef> and i need skb_set_metadata which was introduced in 4.15 or so
<edef> so i guess i'm patching my test kernels up
<aszlig> edef: because apparently this only happens in the chain host fs -> bind ro -> virtio 9p -> guest mounted 9p -> overlayfs
<aszlig> but even when doing a test case *only* on that chain it still works
<edef> welp
<edef> the whole overlayfs stack seems super messy tbh..
<aszlig> edef: well, you could temporarily go to 4.18 or revert the commit mentioned above
<edef> i'm fundamentally convinced that there is no sound way of implementing that particular abstraction in terms of POSIX filesystems
<edef> hmm, not quite sure how to add an additional kernel version
<aszlig> edef: sec...
<aszlig> ah, damn, thought i had the patch file laying around for the revert
<aszlig> because it also needs a fix of the function arguments
orivej has quit [Ping timeout: 245 seconds]
<gchristensen> how about a reversePatch function :) reversePatch(fetchpatch { ... })
<edef> heh
<edef> should be doable i suppose
<aszlig> gchristensen: that won't work when you need to fix up the patch
<aszlig> edef: sec, lemme do that patch again
<gchristensen> sure :)
<gchristensen> ok gotta run. good luck y'all, glad I could put you two in touch.
<aszlig> edef: compiling kernel and testing...
<edef> :3
<aszlig> edef: you're on 4.19.9, right?
<edef> aszlig: yes
<aszlig> edef: ah, then i have to rebase that patch again
<edef> aw
<aszlig> building...
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
<aszlig> edef: or, if you trust me to not add weird stuff to that gist: imports = [ (import (builtins.fetchGit https://gist.github.com/ed853b2f37321f88b46913f06780e89d.git)) ];
<aszlig> edef: but probably better to just download that module =)
<edef> yeah, i'm vendoring it into my test tree for now
<edef> oh hm
<edef> Hunk #1 FAILED at 876.
<edef> 1 out of 1 hunk FAILED -- saving rejects to file fs/open.c.rej
<edef> builder for '/nix/store/x6yc8vp81a4bbn67hlzk6zfw2vyvkvfp-linux-config-4.19.9.drv' failed with exit code 1
<aszlig> ah, sorry...
<aszlig> tab/spaces ;-)
<aszlig> edef: updated
<edef> aszlig: building! will report back ^_^
<aszlig> but that aside it would be useful if we could reproduce that in some way without nix(os), because i got a reply from the maintainer and he doesn't seem to be willing to run nix :-D
<aszlig> so i tried to reproduce it on a fedora vm during the last week to no avail
<aszlig> i might at some point just post the instructions to reproduce it with nix to the mailing list if i don't succeed in the next few days
<aszlig> fedora also has the advantage that it serves as a good reminder on why i use nix - one tends to forget what life is without nix sometimes ;-)
Synthetica has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 272 seconds]
pie___ has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
ckauhaus has quit [Quit: WeeChat 2.2]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos-dev
JosW has joined #nixos-dev
Drakonis__ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-dev
Drakonis__ has quit [Ping timeout: 252 seconds]
JosW has quit [Ping timeout: 252 seconds]
fadenb has quit [Remote host closed the connection]
fadenb has joined #nixos-dev
pie___ has quit [Remote host closed the connection]
pie__ has joined #nixos-dev
jtojnar has joined #nixos-dev
JosW has joined #nixos-dev
Drakonis__ has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 245 seconds]
Drakonis__ has quit [Ping timeout: 252 seconds]
genesis has quit [Remote host closed the connection]
genesis has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
drakonis1 has quit [Ping timeout: 252 seconds]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
arianvp has quit [Quit: WeeChat 2.2]
drakonis has quit [Quit: WeeChat 2.3]
arianvp has joined #nixos-dev
orivej_ has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-dev
obadz has quit [Quit: WeeChat 2.3]
obadz has joined #nixos-dev