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
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-dev
jtojnar has quit [Quit: jtojnar]
drakonis has quit [Quit: WeeChat 2.3]
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 272 seconds]
lassulus_ is now known as lassulus
Jackneill has quit [Ping timeout: 246 seconds]
Jackneill has joined #nixos-dev
jtojnar has joined #nixos-dev
init_6 has joined #nixos-dev
orivej has joined #nixos-dev
init_6_ has joined #nixos-dev
init_6 has quit [Ping timeout: 246 seconds]
init_6_ is now known as init_6
drakonis has joined #nixos-dev
Jackneill has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos-dev
ckauhaus has joined #nixos-dev
init_6 has quit []
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 252 seconds]
page has quit [Quit: leaving]
page has joined #nixos-dev
averell has quit [Quit: .]
<gchristensen> anyone available to look at this patch from matthewbaur? https://github.com/NixOS/nixpkgs/commit/ae16dd1a15dfbe29c6a1de61c4cc23e2cd6487f0 ? it was pushed right to master. I'm not sure it is the right thing.
matthewbauer[m] has joined #nixos-dev
<gchristensen> (reposted now that matthewbauer[m] is here) anyone available to look at this patch from matthewbaur? https://github.com/NixOS/nixpkgs/commit/ae16dd1a15dfbe29c6a1de61c4cc23e2cd6487f0 ? it was pushed right to master. I'm not sure it is the right thing.
<matthewbauer[m]> Yeah sorry if that was bad
<gchristensen> I'm not sure
<gchristensen> but having some extra eyes couldn't hurt :)
<matthewbauer[m]> But it was pretty severely broken for a while: see https://github.com/NixOS/nix/issues/2505
<{^_^}> nix#2505 (by janpath, 12 weeks ago, open): nix-env -iA pathToPkg.output should install output instead of in pathToPkg.meta.outputsToInstall
<matthewbauer[m]> Oops wrong one
<gchristensen> oh, I was hoping that one was fixed too :D
<{^_^}> nix#1963 (by obadz, 46 weeks ago, open): nix-env silently fails to install unfree packages
<matthewbauer[m]> But, that was an issue since 18.03
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 quit [Read error: Connection reset by peer]
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 250 seconds]
averell has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev
ckauhaus has quit [Quit: WeeChat 2.2]
<gchristensen> let's ditch nixpkgs-unstable
<infinisil> +1
<gchristensen> infinisil: want to write the RFC with me? :P
<infinisil> gchristensen: Hmm, yeah why not
<tilpner> Huh, why that? I like nixpkgs-unstable
<gchristensen> it is very confusing for newbies
<gchristensen> LOTS of people ask: "How unstable is the "unstable channel"?" and then we have to have a big discussion about nixos- vs nixpkgs- bla bla bla
<samueldr> if the argument is "it updates faster than nixos-unstable" the solution is to figure out the issue making the updates slower
<tilpner> :/
<tilpner> nix-env is confusing for newbies, let's get rid of that too?
<samueldr> (which right now is the apparent instability of qemu)
<gchristensen> yes please!
<infinisil> Yes, agreed tilpner :)
<tilpner> I don't think removing things until nobody's confused anymore is the way to go :(
<gchristensen> I agree
<tilpner> What other ways are there to avoid that moment of confusion?
<infinisil> My arguments for getting rid of nixpkgs-unstable are: There's no harm for people to use nixos-unstable instead, and if there's less channels, nixos-unstable can update faster because there's more build power
<tilpner> Where do they learn of nixpkgs-unstable?
<tilpner> That's where they should see a link explaining the differences and the meaning of unstable
<gchristensen> they learn about nixpkgs-unstable after they get someone asking, "sorry, did you mean nixpkgs-unstable or nixos-unstable?"
<tilpner> infinisil: It's not always a problem of build power
<gchristensen> it would also help with focused person-power
<tilpner> How would getting rid of nixpkgs-unstable free up person-power?
<gchristensen> not free-up, but focus -- since more people would be invested in it advancing
<gchristensen> (this is a crappy argument)
<infinisil> Yeah, tbh I think all of nixpkgs is getting a bit big to manage for this little active maintainers/committers we have
<tilpner> What will Darwin users think about getting rid of nixpkgs-unstable?
<infinisil> Simplifying stuff in general might be a good idea
<tilpner> Isn't nixpkgs-unstable the only supported channel for Nix-on-not-NixOS?
<gchristensen> the darwin users I know will be happy, because finally their stuff will match linux stuff
<samueldr> nixos-xx.yy is supported IIRC since 18.03 for nix-darwin/darwin usage?
<samueldr> or suggested?
<samueldr> or I'm woefully wrong?
<infinisil> Maybe we should rename the channels, nixos-unstable -> nixpkgs-unstable (NixOS is part of nixpkgs anyways, so that would make sense, it's just gonna be hella confusing, so maybe not..)
<samueldr> hmm, it's nixpkgs-xx.yy-darwin, disregard me, but would make sense to join them up
<tilpner> Well, I'm trying to get rid of channel completely in my setup, but I still think removing nixpkgs-unstable would be a loss
<infinisil> I'd like to hear from people who actually use nixpkgs-unstable
<tilpner> nixos-unstable vs nixpkgs-unstable seems like an important distinction wrt. what tests get run (are we testing for NixOS to work, or just nixpkgs to work?)
<infinisil> The only thing it currently provides over nixos-unstable is faster updates
<tilpner> Which is important, given how nixos-unstable sometimes takes forever to update compares to the release channels
<tilpner> *compared
<infinisil> tilpner: As said, NixOS is part of nixpkgs, so I think nixpkgs-unstable meaning to not run NixOS tests doesn't even make sense
<samueldr> though right now most of the forever is a longstanding issue with the testing infra, which is a bug, not a design of nixos-unstable :/
<tilpner> infinisil: It's in the same repo, but there are many users who only use the non-NixOS parts
<samueldr> (longstanding meaning months here)
<tilpner> Why should they have to wait because NixOS is broken again?
<tilpner> Maybe I'm underestimating the cost of having nixpkgs-unstable
<samueldr> nixos tests aren't necessarily nixos-only; some parts of nixpkgs are stressed in ways that may not show otherwise
<tilpner> So far it seems like some build power and a little confusion. And that seems to be worth paying (IMO)
<infinisil> You have a point, but I also wonder how many people actually use nixpkgs-unstable
<gchristensen> nix installations default to it
<infinisil> Ah
<tilpner> infinisil: I assume everyone with Nix-on-not-NixOS
<infinisil> *Nix-on-not-NixOS-but-soon-to-switch-over-once-they-realize-how-awesome-NixOS-is
<samueldr> if the goal is to feed the channel faster, maybe nixpkgs-untested, and the nix installer defaults to nixos-rolling?
<gchristensen> :~)
<samueldr> (spitballing here)
<tilpner> I'm not against restructuring (or abandoning) channels, but then it's a much larger task than just dropping nixpkgs-unstable
<infinisil> Yeah maybe it's a bit of an overreaction
<infinisil> Our goal should be to fix the hydra failures that prevent nixos-unstable to update
<infinisil> Once that's settled and made sure channel updates happen regularly, we could make it the default (maybe rename it)
<infinisil> And then remove nixpkgs-unstable
* samueldr wonders if the tests started to fail after a qemu upgrade
<tilpner> Is there another way to accomplish that than "pay lots of attention to failing tests"?
<gchristensen> improve insight in to patches before they hit master
<tilpner> Oh, ofborg would run NixOS tests and block merge if they fail?
<gchristensen> I didn't say that exactly :P
<gchristensen> (butmaybe)
<tilpner> Is that feasible to do on the current infrastructure?
<gchristensen> no
<infinisil> How about an RFC for making a strategy for figuring out the cause of the failures
<Phillemann> This is just remotely related, but my problem with test failures is, most of the time they're completely irrelevant to me. I don't use qemu, for example. And if the installer test fails...I don't care. :D
<Phillemann> But surely this is another discussion.
<samueldr> though, the installer tests also verify a system should boot successfully using a couple of the bootloaders installs
<samueldr> a failure of those will be bad for nixos users
<samueldr> but here maybe you're not a nixos user :/
<Phillemann> I am, actually. I just thought the installer was something I left behind, so to speak ;)
<Phillemann> Maybe a bad example on my part.
<samueldr> gchristensen: would it be a hassle to have someone check the machine for something like bad ram, or cycle through another one?
<gchristensen> what machine?
<samueldr> packet-epyc-1
<samueldr> anecdtodally a high percentage of failures of vm tests are on it, even going months back
<samueldr> BUT
<samueldr> it's also a machine that gets a big chunk of the work
<gchristensen> yikes
<samueldr> so it might be unlucky!
<gchristensen> or extra lucky :P
<gchristensen> I could drop its kvm feature?
<gchristensen> also, sure, we could take it out and run memtest on it
<samueldr> not sure it would be kvm at play
<cransom> packet-epyc-1 has a builtin chaos monkey build feature
<gchristensen> :(
<samueldr> at least the chaos monkey you can point a finger to it
<samueldr> my leading assumptions are that it's one of (hardware failure on packet-epyc-1) (qemu instability) (kvm instability) or combination of the three
<samueldr> hoping it wouldn't be the first
<gchristensen> or over previsioned?
<gchristensen> tbh hoping it is the first :PU
<gchristensen> easiest to fix
<samueldr> I'm thinking about all the previous builds it did that may be subtly broken :/
<samueldr> but yeah, hoping it is, but hoping it isn't :/
<gchristensen> fair
<gchristensen> ok, I'll switch laptops and see what I can see
<ivan> did that ruin some kind of down-arrow automation you had?
<gchristensen> I can't run memtest because I can't seem to sort out how to make it output over the console
<ivan> if the system boots linpack should be able to find memory errors
<gchristensen> ah! edit the bootloader config, and it accepts a console=... param
<clever> ah, i didnt think memtest accepted console=
<clever> which reminds me, last i looked, i coulnt find any way to test memtest, lol
<clever> back when the gcc hardening flags where turned on, it caused a bug within memtest, that lead to some confusion on my end
<gchristensen> I remember that:)
<clever> gchristensen: in my case, it started to trigger paranoia, lol
<clever> the machine had a segfault in a weird way, and knowing how pure nixos is, absolutely no code has changed, so maybe its ram?
<clever> memtest found bad ram!
<clever> that was followed by a day of playing musical chairs, with 2 cpus, many sticks of ram, my gpu, and 2 motherboards
<clever> only to discover, every piece of hardware i own, has bad ram...
<clever> is it malware in the bios? what the heck is going on? lol
<samueldr> :thinking: maybe it is, just not yet?
<clever> samueldr: the crazy part, is when machines from entirely different decades, give the same problem
<clever> and others can reproduce it as well...
<samueldr> excellent, provably reproducible bad ram :)
<clever> samueldr: the root problem, is that i was using the nixos memtest build, for every single test
<samueldr> yes
<clever> and the gcc hardening flag cause a false positve at 257mb
<gchristensen> samueldr: how many passes do you like?
<samueldr> I don't know memtest, so I can't say
<gchristensen> ehh... it seems to only be testing the first 256M?
<samueldr> couldn't say, I'm out of my area of expertise really, even asking to check for hw issues felt out of place, but dang it does it look weird
<samueldr> maybe I should do the thing to check stats about distribution of jobs and failures instead of going for a gut feeling
<gchristensen> same
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
q6AA4FD has joined #nixos-dev