phreedom has quit [(Ping timeout: 256 seconds)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined joined #nixos-dev
orivej has joined joined #nixos-dev
orivej has quit [(Ping timeout: 256 seconds)]
orivej has joined joined #nixos-dev
Sonarpulse has quit [(Ping timeout: 265 seconds)]
alpounet has joined joined #nixos-dev
el_putin has quit [(Excess Flood)]
alp has quit [(Ping timeout: 264 seconds)]
alpounet is now known as alp
el_putin has joined joined #nixos-dev
JosW has joined joined #nixos-dev
pie_ has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Ping timeout: 268 seconds)]
ma27 has joined joined #nixos-dev
FRidh has joined joined #nixos-dev
goibhniu has joined joined #nixos-dev
__Sander__ has joined joined #nixos-dev
vcunat has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 255 seconds)]
phreedom has joined joined #nixos-dev
ma27 has joined joined #nixos-dev
phreedom has quit [(Remote host closed the connection)]
peti has joined joined #nixos-dev
phreedom has joined joined #nixos-dev
goibhniu has quit [(Remote host closed the connection)]
goibhniu has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 255 seconds)]
ma27 has joined joined #nixos-dev
<pstn> I've been thinking about the nixos kexec infrastructure. Before checking the repo, I thought it would be nice to have a kexec load as an optional part of the activation script, so you'd always have the kernel of the currently running profile loaded.
<LnL> kexec is disruptive
<pstn> There currently is an implementation with a systemd service, which could also work if you'd make sure the service restarts (and thus reloads the kernel on profile activation)
<pstn> LnL: What do you mean by disruptive?
<pstn> My reasoning was to make it easier, for example to do ```nixos-rebuild test && systemctl kexec```, so you wouldn't touch your grub and if something bad happens, a reboot would bring you back into your old state.
<andi-> pstn: he probably referes to all userspace applications dieing ;-)
<pstn> Ah, got it. I never meant for the machine to automatically reboot. kexec is usually executed in two steps: Load and kexec, where Load just loads the kernel and the image into memory, the actual kexec call is executed later.
<LnL> yeah, and other things like graphics might not unload correctly
<gchristensen> pstn: my experience with kexec is the kernel doesn't retain any memory from the old kernel, in other words: it is effectively a fresh boot as far as the user is concerned
<gchristensen> do you have a different experience?
<gchristensen> are you thinking ksplice?
<pstn> gchristensen: No, that's what it does. Like I said: i don't want to reboot on every activation, just be able to boot into a system build with test without adding anything to the bootloader.
<pstn> So that you can do a switch and reboot properly when you made sure that everything is alright.
goibhniu has quit [(Ping timeout: 250 seconds)]
<gchristensen> well I don't think you could get back to the old one, does it still make sense?
<pstn> Sure you could: Just reboot. It's meant for example for remote servers where you don't have easy access to the grub shell.
<gchristensen> oh I see!
JosW has quit [(Quit: Konversation terminated!)]
<LnL> is there a way to safely stop processes and unmount filesystems first
<LnL> from what I know kexec is pretty unsafe in that regard
<gchristensen> I don't know
<gchristensen> it is definitely unsafe
<gchristensen> I only use it when I'm going to erase the disks anyway
<LnL> for a reinstall that's fine since you're going to repartition anyway
<LnL> yeah
<vcunat> (i.e. it seems like the systemd unit behaves reasonably)
goibhniu has joined joined #nixos-dev
<pstn> Yeah, ```systemctl kexec``` is usually reasonable.
<pstn> Like I said there was some infrastructure before but I it doesn't seem to work for me.
<LnL> hmm yes, I was thinking of kexec -e
<gchristensen> vcunat: I think the 501+ tag is maybe not sufficient to determine it should go to staging, but perhaps it is "close enough"
<Dezgeg> would be good to have another logarithmic step, I think
<gchristensen> vcunat: should this go to staging? https://github.com/NixOS/nixpkgs/pull/33283 not sure
<vcunat> hmm, kernel-only thing getting 501+ ?
<gchristensen> indeed :)
<vcunat> my script is returning 377, but that's not too different anyway
<vcunat> perhaps it would really be better to have a higher treshold for Linux rebuilds
<pstn> Uh, one more thing: I know hydra time is a limited resource, but could we get one wine64 binary? Many windows apps need it nowadays.
<LnL> vcunat: about the darwin queue, did we change the priorities of nixpkgs-17.09-darwin?
<vcunat> I _personally_ think one wine64/wow variant would be OK to build.
<vcunat> LnL: I don't recall any change.
<vcunat> It should have higher priority than staging, I expect.
<LnL> we talked about swapping that a while back
<vcunat> :-) my memory is bad
<vcunat> LnL: if there was a consensus about that among nix+darwin users, it's easy to reduce the shares for nixpkgs-17.09-darwin
<gchristensen> pstn: we build the entire haskell ecosystem on hydra, if we're not building wine64 it probably isn't because capacity is limited...
<LnL> I think it's not a bad idea since that staging impacts a lot more people
<vcunat> (I don't use darwin; I just watch for big regressions before merging staging)
<vcunat> LnL: I now see the logs about this from Dec 06, but there wasn't anyone else participating.
<vcunat> It would probably be good to get an ACK from some other(s).
<LnL> agreed
<gchristensen> I don't think there is much rhyme or reason to the priorities, and the way it is designed all the priorities become increasingly out of balance as things go :P
<pstn> gchristensen: I think it isn't built because it's not a package definition but accessed by adding a overwrite to the normal wine package, but AFAIK that just needs some one time manual setting, right?
<gchristensen> right, needs adding to all-packages.nix
<vcunat> Discussions I've seen were only against 64-bit-capable wine as the default wine, as it's really huge and many (most?) use cases are fine with 32-bit.
<gchristensen> huge in what dimension, and we could have it not be default, but available
<vcunat> huge closure size
<gchristensen> ouch
<gchristensen> still, though, huge enough to not build it?
<vcunat> I do believe we *can* afford to build one 64-bit-capable variant on Hydra.
<vcunat> (for linux)
<gchristensen> cool, let's do that
<vcunat> I just don't know which variant to choose :-)
<pstn> I suggest full because then everybody is covered.
<FRidh> A failing test is blocking 17.09 channel update https://hydra.nixos.org/build/66945420
<LnL> does it fail consistently?
<LnL> works for me
<vcunat> works for me locally as well
<FRidh> then I suppose it just needs to be restarted
<vcunat> hmm, the job got stuck and it's unrestartable now :-/
<LnL> it's waiting for gc, no?
FRidh has quit [(Ping timeout: 260 seconds)]
FRidh has joined joined #nixos-dev
Sonarpulse has joined joined #nixos-dev
<Sonarpulse> vcunat: Dezgeg: seen https://github.com/NixOS/nixpkgs/pull/26883 ?
<Sonarpulse> old pr; rebased and finally builds completely
pie_ has joined joined #nixos-dev
<Sonarpulse> bgamari: we should start planing on how to break up and merge your patches :)
<Sonarpulse> Dezgeg: also our mips config seems long screwed up. It's called `mips64el-*` but was producing 32-bit binaries
FRidh has quit [(Quit: Konversation terminated!)]
__Sander__ has quit [(Quit: Konversation terminated!)]
ma27 has quit [(Ping timeout: 265 seconds)]
ma27 has joined joined #nixos-dev
ma27 has quit [(Ping timeout: 272 seconds)]
<LnL> Sonarpulse: have you looked at staging, some of the new failures look suspicious :)
<Sonarpulse> LnL: I'll look
<Sonarpulse> :O
<Sonarpulse> LnL: which eval?
<LnL> sec
<LnL> I noticed because the tarball build failed for a pretty strange reason
<Sonarpulse> LnL: oh ok
<Sonarpulse> guilty, probably
<Sonarpulse> I did see that
<Sonarpulse> hoped it was somehow not me
goibhniu has quit [(Ping timeout: 248 seconds)]
<LnL> the tarball might be unrelated, but this looks suspicious https://hydra.nixos.org/build/67015152
ma27 has joined joined #nixos-dev
<Sonarpulse> LnL: hmm yes
<LnL> only ~300 packages so could just be weird stuff + unrelated
<Sonarpulse> is direct comparision
<Sonarpulse> with base branch
<Sonarpulse> the pharo vm is somehow my fault
<Sonarpulse> as if afl
<Sonarpulse> need to figure out which clang i suppose
<LnL> oh, are you going to look at that?
<LnL> was just going to disable it on darwin
<Sonarpulse> LnL: i suppose I should
<Sonarpulse> hmm i wish nix would say which interpolation
<Sonarpulse> in such a thing
<LnL> yeah, that's why I really don't like null packages
FRidh has joined joined #nixos-dev
<LnL> Sonarpulse: it's libuuid
<Sonarpulse> LnL: thanks
<Sonarpulse> I did a while !nix-instantiate .. ; do vim ...; end
<Sonarpulse> now gotta exit loop ugh
<bgamari> Sonarpulse, indeed
<bgamari> I'm trying to rebase them on staging
<Sonarpulse> bgamari: see my ericson2314-cross-base branch?
<Sonarpulse> in obsidia
<Sonarpulse> maybe start there
<bgamari> alright
<Sonarpulse> will be less churn on the haskell side
<bgamari> unfortunately my hacked rebase of your ghc patches broke
<bgamari> ahh
<bgamari> yeah, that was the problem
<bgamari> the haskell bits
<LnL> Sonarpulse: but it's also null on master...
<Sonarpulse> LnL: huh
<Sonarpulse> LnL: I once saw some impurity sneak in such that where I evaled darwin really seemed to matter
<Sonarpulse> bgamari: I'm thinking most of the mass rebuild fixes are hopefully more similar?
<Sonarpulse> if we can get them onto staging before staging is next merged to master, that would be nice
<LnL> eww
<Sonarpulse> ideally master-only there on out
<bgamari> Sonarpulse, when will that be?
<Sonarpulse> bgamari: no idea
<Sonarpulse> but i suspect merging your stuff will be quite easy now :)
<Sonarpulse> vcunat would know
<bgamari> alright, I'm not sure I can guarantee that
<bgamari> ;)
<Sonarpulse> bgamari: yeah don't worry
<Sonarpulse> nothing wrong with another staging cycle
<Sonarpulse> just don't wanna slow you down further :)
<bgamari> Unfortunately I didn't get nearly as much done during break as I thought I would
<Sonarpulse> that's fine
<LnL> Sonarpulse: well it uses patchelf, so won't work on darwin anyway
<Sonarpulse> LnL: hmm ok
<Sonarpulse> imma git log it
<bgamari> Sonarpulse, it would be nice if stdenv.binutils.bintools had some passthru attributes for the tool paths
<bgamari> e.g. ldPath, stripPath, etc.
<bgamari> I've sometimes wondered why this isn't more common
<Sonarpulse> bgamari: oh some derivations need absolute paths to those?
<bgamari> since we are always constructing these paths by hand
<bgamari> well, haskell's generic-builder appears to
<Sonarpulse> bgamari: oh it's wrong
<Sonarpulse> that's overkill for most things
<bgamari> and in general I've wondered why we don't always pass absolute paths
<bgamari> it seems like it is unnecessarily leaving things to chance
<Sonarpulse> bgamari: that's fair
<Sonarpulse> I have too
<Sonarpulse> in the ghc case I just mean it will work to do non-absolute
<bgamari> we know precisely which executable we mean; we should use that fact
<Sonarpulse> except for some wrapper scrit
<vcunat> Sonarpulse: I failed to follow this all - what should I know?
<Sonarpulse> vcunat: when staging will next be merged into master
<vcunat> if there are no regressions, as soon as most builds get finished
<vcunat> Darwin tends to take a long time
<Sonarpulse> vcunat: ok
<gchristensen> I thought we had pretty good build capacity for darwin
<Sonarpulse> bgamari and I have at least one more mass rebuild for cross stuff
<gchristensen> what would it take to have nix emit statistics for monitoring to see this stuff and compare architectures in a reasonable way
<vcunat> I'd hope that in a few days it will catch up and build most of staging
<vcunat> 1.5k done, 10.8k remaining.
<Sonarpulse> bgamari: we could do that
<vcunat> gchristensen: I watch per-platform queue lengths in https://hydra.nixos.org/queue-summary
<Sonarpulse> bgamari: https://github.com/NixOS/nixpkgs/pull/33110/files#diff-9df0bc35caced15504a927965a905d1aR145 also gives us many more packages binutils executables to symlink
<gchristensen> yeah, but if we can get stats off the builders directly we can setup better monitoring and compare different hardware classes for example
<vcunat> we have something in https://hydra.nixos.org/machines
<vcunat> > mac5 (x86_64-darwin) (7341 steps done, 314.4 s/step)
<FRidh> I actually just merged staging into master
<LnL> hmm?
<Sonarpulse> FRidh: that's fun!
<Sonarpulse> FRidh: is there a master eval in progress?
<Sonarpulse> vcunat: https://github.com/NixOS/nixpkgs/pull/26883, which I linked earlier, becomes a master PR then
<vcunat> ah, I wondered why you targeted staging - there was surely something in there the PR depends on
contrapumpkin is now known as visionofsatoshi
visionofsatoshi is now known as contrapumpkin
<Sonarpulse> vcunat: yes a very big thing https://github.com/NixOS/nixpkgs/issues/26805 :)
<vcunat> :-)
vcunat has quit [(Quit: Leaving.)]
FRidh has quit [(Quit: Konversation terminated!)]
orivej has joined joined #nixos-dev
{`-`} has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
michaelpj_ has joined #nixos-dev
michaelpj_ has quit [Remote host closed the connection]
michaelpj_ has joined #nixos-dev
michaelpj_ has quit [Remote host closed the connection]
michaelpj_ has joined #nixos-dev
michaelp- has joined #nixos-dev
michaelpj_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-dev
michaelp- has quit [Ping timeout: 248 seconds]
a_lebedev has joined #nixos-dev
a_lebedev has quit [Ping timeout: 263 seconds]
<Sonarpulse> LnL: did you fix pharo eval error on master too?
<LnL> no, I didn't expect staging to get merged yet
<Sonarpulse> LnL: can i do a cherry pick
<Sonarpulse> so it lands on my defensive branch too? :)
<LnL> sure go ahead
<Sonarpulse> LnL: actually it can just be merged too
<LnL> also works
<LnL> anyway, I'm going to bed
<Sonarpulse> LnL: good night! soon will be back on darwin -> linux :)
<LnL> yeah, I was planning to take another look at that once most of your stuff was merged :)