sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.03 released! https://discourse.nixos.org/t/nixos-19-03-release/2652 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html https://r13y.com | 19.03 RMs: samueldr,sphalerite | https://logs.nix.samueldr.com/nixos-dev
drakonis_ has quit [Ping timeout: 272 seconds]
<infinisil> Oh wow, I didn't know it's possible to run macOS in qemu on Linux: https://github.com/foxlet/macOS-Simple-KVM/
<qyliss> Hydra's Darwin builders do that!
<clever> darwin, in qemu, on nixos, on apple hardware
drakonis_ has joined #nixos-dev
<ivan> on Linux you can also pass through an NVIDIA card to macOS and have working 3D
<ivan> on 10.13, anyway
<clever> ivan: oh, also
<clever> there are signs that 10.14 is getting better qemu support
<clever> it has support for the emulated gpu in qemu, along with virtio and 9planfs
<ivan> huh, nice
<clever> it sounds like they havent really told anybody
<samueldr> now if only they dropped that clause in the EULA and sold licenses :/
<clever> and the author of the blog only noticed, because the resolution of his guest changed
<samueldr> between "minor" updates too, IIRC
<samueldr> >> After one of the minor updates
<qyliss> I wonder why they're doing that
<samueldr> literally the first words 🤦
drakonis has quit [Ping timeout: 252 seconds]
<infinisil> clever: Why does it need to run on mac hardware though?
<samueldr> it's likely useful for their own internal use
<infinisil> From that github project I'm getting that you don't need a mac
<clever> infinisil: legal reasons
<infinisil> Ugh
<ivan> infinisil: mac machines have the secret string
<samueldr> there is a clause in the EULA, and a few copyrighted words needed that are probably technically meaningless
<samueldr> (just like the nintendo logo in roms)
<clever> please dont steal, lol
<infinisil> I wonder what the performance loss is due to it running through qemu instead of doing it directly
<infinisil> on the mac hardware
<clever> infinisil: kvm is still in effect
<samueldr> probably way less than anticipated, when it's CPU-bound
<infinisil> kvm is almost zero cost?
<samueldr> the cost is the other hardware, mainly storage
<samueldr> which can be helped along with spooky options that sync less or not at all to disk
<clever> the nixos stuff, is using zvols on a zfs pool
<clever> also, `drive id=MacHDD,cache=unsafe` this part tells qemu to just ignore when the guest asks to sync things to disk
<clever> so data can be in the kernels write cache, and at risk of loss during improper shutdowns, and the guest will think its all saved
<clever> which will give a small boost to performance
<samueldr> doing graphical stuff is... not always nice, since it runs without gpu accel (except maybe with iGVT)
<clever> and dont worry about data loss, it does `zfs rollback ${snapshot}
<clever> on bootup, so it always has data loss :P
Drakonis__ has joined #nixos-dev
justanotheruser has quit [Ping timeout: 248 seconds]
Drakonis__ has quit [Ping timeout: 245 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
ajs124 has quit [Quit: Gateway shutdown]
ajs124 has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 250 seconds]
<drakonis1> ivan: changing PA's latency does no good
justanotheruser has joined #nixos-dev
<ivan> drakonis1: did you wineserver -k and start something from the shell you exported in
<ivan> if yes then I dunno, sorry
justanotheruser has quit [Quit: WeeChat 2.4]
<drakonis1> i'm confused now
justanotheruser has joined #nixos-dev
<edef> so i'm working on making OpenSSH host-based authentication work nicely on NixOS
<edef> and among other things this needs ssh-keysign(1), which does come with openssh, and lives at ${openssh}/libexec/ssh-keysign
<edef> but it needs to be suid-root, which is fine, but OpenSSH expects to invoke it at that particular path
<edef> do we have policy around embedding /run/wrappers paths in packages?
Guanin has quit [Remote host closed the connection]
drakonis1 has quit [Quit: WeeChat 2.5]
drakonis1 has joined #nixos-dev
orivej has joined #nixos-dev
<Shados> edef: ...maybe just make a sh wrapper that execs the real suid version? Or would it pick up on the actual location?
orivej has quit [Ping timeout: 268 seconds]
<Shados> Or, similarly, a derivation that is just a symlink tree of the underlying openssh derivation + a symlink to the /run/wrappers path?
bgamari_ has quit [Ping timeout: 252 seconds]
<gchristensen> edef: here is some prior art https://search.nix.gsc.io/?q=%2Frun%2Fwrappers&i=nope&files=%5Epkgs%2F.*&repos=NixOS-nixpkgs
bgamari has joined #nixos-dev
MichaelRaskin has quit [Ping timeout: 258 seconds]
drakonis1 has quit [Quit: WeeChat 2.5]
alp has joined #nixos-dev
johanot has joined #nixos-dev
Jackneill has joined #nixos-dev
MichaelRaskin has joined #nixos-dev
pie__ has quit [Ping timeout: 258 seconds]
Synthetica has joined #nixos-dev
pie__ has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
johanot has quit [Quit: WeeChat 2.4]
johanot has joined #nixos-dev
cjpbirkbeck has quit [Quit: Quitting now.]
orivej has joined #nixos-dev
johanot has quit [Quit: WeeChat 2.4]
justanotheruser has quit [Ping timeout: 248 seconds]
justanotheruser has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
<edef> gchristensen: hmm, okay
bgamari has quit [Ping timeout: 244 seconds]
bgamari has joined #nixos-dev
bgamari has quit [Quit: ZNC 1.7.2 - https://znc.in]
bgamari has joined #nixos-dev
andi- has quit [Quit: WeeChat 2.5]
andi- has joined #nixos-dev
<worldofpeace> hey a hydra jobset for #63493 is really needed if we'd like to land that
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63493 (by jtojnar, 1 day ago, open): meson: enable auto_features by default
alp has quit [Ping timeout: 258 seconds]
psyanticy has joined #nixos-dev
<samueldr> niksnut, domenkozar[m], gchristensen ^ I don't know who else has hydra privileged hands
alp has joined #nixos-dev
lopsided98_ has joined #nixos-dev
ma27_ has joined #nixos-dev
orivej has joined #nixos-dev
{^_^} has quit [*.net *.split]
Cale has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
ma27 has quit [*.net *.split]
c00w has joined #nixos-dev
v0|d has joined #nixos-dev
Cale has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
<gchristensen> thanks worldofpeace, samueldr. jobset created: https://hydra.nixos.org/jobset/nixpkgs/pr-63493-meson-auto-features
cjpbirkbeck has joined #nixos-dev
FRidh has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
<edef> pondering whether i should split this PR or not
<worldofpeace> thanks a lot gchristensen ✨
<qyliss> edef: if in doubt, yes
aminechikhaoui has joined #nixos-dev
<samueldr> nixos:trunk-combined, Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS ~ 12:26 UTC, https://gist.github.com/samueldr/879a22c7dee54aa2b6a0c7eb0a8a8b0c
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos-dev
johanot has joined #nixos-dev
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos-dev
<Guest4937> do we have any ways to force channel updates? for instance, the firefox update has yet to hit nixpkgs-unstable: https://github.com/NixOS/nixpkgs-channels/commit/0ca028458077d16c1216f2a1858a3decb3030229
<Guest4937> mainly due to x86_64-darwin builder woes, but perhaps we need a way to force an immediate channel update?
<Guest4937> otherwise, we'll have to wait a few more days before we get the patched firefox
<samueldr> Guest4937: I don't think so :/
<samueldr> linux users can (and maybe should) instead prefer nixos-unstable rather than nixpkgs-unstable
<samueldr> (though it does have its issues getting eval'd lately, Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS again)
<edef> what *are* our Darwin builder woes
<samueldr> I don't know the details, but here's a symptom https://hydra.nixos.org/build/95053034
<samueldr> (and maybe in addition, being underprovisioned)
<edef> the latter i might be interested in improving
<edef> wait, are these Packet-hosted VMs?
<samueldr> 🙈
<samueldr> edef: get in touch with gchristensen, I think graham's the one to talk to for improving all that
* edef nods
<edef> hmm, looks like https://github.com/NixOS/nixpkgs/pull/63585 causes a tonne of rebuilds
<edef> i guess i should retarget for staging
<qyliss> mhmhm
<samueldr> if you rebase to merge-base between staging and master before changing the branch in the PR it shouldn't notify anyone it doesn't have to (if even possible)
<qyliss> oh nice.
<qyliss> that's useful to know
<edef> oh. oops
<samueldr> no worries, I think we're all used to this happening sometimes :)
<qyliss> it's annoying, but I consider it GitHub's fault rather than any user's
<samueldr> yes
<edef> at this point i'm just staring into the distance realising that my one-line change is rebuilding >1k packages
psyanticy has quit [Quit: Connection closed for inactivity]
cjpbirkbeck has quit [Quit: Quitting now.]
FRidh has quit [Quit: Konversation terminated!]
orivej has joined #nixos-dev
johanot has quit [Quit: WeeChat 2.4]
layus has quit [Ping timeout: 252 seconds]
layus has joined #nixos-dev
Guanin has joined #nixos-dev
drakonis1 has joined #nixos-dev
<gchristensen> okay so fwiw I've been having a heck of a time since I've been quite busy this week -- I'm sorry :(
<gchristensen> but I've built fresh images anda m about to roll out new macs
{^_^} has joined #nixos-dev
<gchristensen> I just rolled over most of the macs
<gchristensen> they take a while to boot though, and I'll probably go to sleep before they're done. ...
alp has quit [Ping timeout: 258 seconds]
<Guest4937> sounds good
<gchristensen> ok Guest4937 we have macs again
<gchristensen> maybe I should make them implode after 1 week and recreatethemselves
<samueldr> that's a fun name there, I wonder if matrix masks the fac to Guest4937
<samueldr> the fact*
<gchristensen> hehe
<samueldr> con: implosion would spuriously make jobs fail, pro: fewer jobs failed than everything failing
<gchristensen> right
<gchristensen> hydra would detect it asa temproary failure I think
<samueldr> oh, then if it retries it's just lost time, at most 10h per machine I guess
<gchristensen> ideally they wouldn't implode of course
<ekleog> how many macs do we have? making them implode so that one implodes every week should lose relatively few jobs, while being enough to ensure the auto-respawning works properly
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-dev