worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS 20.03 BETA Announced https://discourse.nixos.org/t/nixos-20-03-beta/5935 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
justanotheruser has quit [Ping timeout: 272 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
<{^_^}> firing: BuildsStuckOverTwoDays: https://status.nixos.org/prometheus/alerts
<gchristensen> :( chromium!!
* gchristensen has the technology to fix this
orivej has joined #nixos-dev
<samueldr> gchristensen: nice
<worldofpeace> How I supposed to merge master into staging? Is it like, master into staging-next, and staging-next into master?
<samueldr> though I guess it can't prefer big-parallel tasks, while still allowing non-big-parallel to run when the queue is empty?
<gchristensen> samueldr: probably not
<gchristensen> worldofpeace: there is an RFC about it... and usually I let FRidh and/or vcunat do it :x that is all I know.
<samueldr> and the converse, prefer sending big-parallel to big-parallel machines?
<gchristensen> samueldr: dunno, I'd have to read hydra-queue-runner
* samueldr has no idea about the scheduling
<worldofpeace> gchristensen: I checked the history and by memory that's what's done. Pushed that
<gchristensen> nice
drakonis has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos-dev
drakonis1 has joined #nixos-dev
<gchristensen> can somebody do a bit of research for me? are mandatory-features in remote building AND'd or OR'd?
<clever> gchristensen: i think anything in mandatory gets added to available features automatically
<gchristensen> yes, but must a job match any of the features, or must it match all of the features
<gchristensen> for the mandatory-feature list
<clever> ah, i didnt look that closely at multiple mandatory, but my gut says all
<gchristensen> can somebody research that for me? :)
* clever double-checks
<clever> 265 for (auto & f : mandatoryFeatures)
<clever> 266 if (!step->requiredSystemFeatures.count(f)
<clever> 267 && !(f == "local" && step->preferLocalBuild))
<clever> 268 return false;
<clever> it will loop thru all mandatory features, and if any is not found in the required on a drv, it rejects it
<gchristensen> dang
<clever> but the special feature local, will accept anything with preferLocalBuild
<gchristensen> thank you
justanotheruser has quit [Ping timeout: 272 seconds]
drakonis1 has quit [Ping timeout: 255 seconds]
drakonis1 has joined #nixos-dev
<gchristensen> clever: sorry I mean from the machines perspective
<gchristensen> a machine listing foo,bar,baz as mandatory features, will it receive jobs with "foo,bar" requiredSystemFeatures?
<clever> gchristensen: nope
<gchristensen> okay
<clever> gchristensen: line 265 will run the ones below, searching for baz
<gchristensen> dang :)
<clever> 266 will fail to find baz, and reject the job
drakonis1 has quit [Quit: WeeChat 2.7]
<gchristensen> thanks!
drakonis1 has joined #nixos-dev
drakonis1 has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos-dev
drakonis_ has joined #nixos-dev
<{^_^}> resolved: BuildsStuckOverTwoDays: https://status.nixos.org/prometheus/alerts
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos-dev
drakonis_ has quit [Quit: Leaving]
bhipple has quit [Remote host closed the connection]
mmlb has quit [Ping timeout: 268 seconds]
cole-h has quit [Ping timeout: 240 seconds]
mmlb has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
mmlb has quit [Ping timeout: 255 seconds]
mmlb has joined #nixos-dev
johnny101m has quit [Ping timeout: 248 seconds]
johnny101m2 has joined #nixos-dev
cole-h has joined #nixos-dev
ixxie has joined #nixos-dev
<FRidh> worldofpeace: by the way, just merge into staging when something is fine.
lovesegfault has quit [Quit: WeeChat 2.7]
cole-h has quit [Ping timeout: 240 seconds]
johnny101m2 has quit [Ping timeout: 272 seconds]
Jackneill has joined #nixos-dev
ris has quit [Ping timeout: 240 seconds]
johnny101m has joined #nixos-dev
orivej has joined #nixos-dev
tilpner_ is now known as tilpner
__monty__ has joined #nixos-dev
Synthetica has joined #nixos-dev
drakonis has quit [Ping timeout: 258 seconds]
psyanticy has joined #nixos-dev
<sphalerite> Mic92: spacekookie: worldofpeace: niksnut: meeting in just over 1h, right? (I'm in Ireland and timezones are confusing)
<gchristensen> sphalerite: I think it is canceled
<gchristensen> sphalerite: ps: everytimezone.com
<spacekookie> sphalerite: there was an email about cancelling
<niksnut> tbh, I don't see what the SC meeting has to do with a particular RFC
<niksnut> having said that, I don't think there has been a lot of activity that needs SC action
<sphalerite> oh yeah, sorry, I'm not good at emails >.<
<sphalerite> yeah, in my preparation the only thing I think we should maybe decide on is whether to just close https://github.com/NixOS/rfcs/pull/54
<gchristensen> what changed from 19.09 -> 20.03 to make things like gnupg's password prompt turn more KDE-ey than Gnome-ey?
<{^_^}> rfcs#54 (by CrystalGamma, 20 weeks ago, open): [RFC 0054] Support levels and tiers
<sphalerite> gchristensen: maybe https://github.com/NixOS/nixpkgs/pull/71095 ?
<{^_^}> #71095 (by flokli, 18 weeks ago, merged): Split pinentry flavors and enable udisks2 on install media again
<niksnut> sphalerite: okay, I've closed it
<ma27[m]> gchristensen: pinentry = libsForQt5.callPackage ../tools/security/pinentry { /* ... */ };
<gchristensen> interesting
<gchristensen> nix-store -qR /run/current-system | grep python2 | wc -l => 0
<srk> gchristensen: it's python-2
<gchristensen> I don't have any of that either
<srk> cool
<LnL> and the drv?
<srk> I only have a few
<gchristensen> LnL: yeah, nix-store -qR /nix/store/6fhd3yayyw4w7254cqiirq5h5bnzjxj2-nixos-system-Petunia-20.03beta-475.71be729a58e.drv | grep python2 has some things :)
<gchristensen> srk: (python2 works too)
<sphalerite> Mic92: spacekookie: worldofpeace: niksnut: oh, and we can set RFC32 off in discussion if we choose a shepherd leader.
<sphalerite> same for 64
onixie has joined #nixos-dev
<gchristensen> ma27[m]: 'round?
<marek> working on a module and I need a function to turn an attrset to a program arguments like
<marek> like: --foo bar --bar foo etc
<marek> do we have anything like that?
<gchristensen> like { "--foo": "bar", "--bar": "foo" }?
<niksnut> maybe the new lib/cli.nix?
<niksnut> cli.toGNUCommandLine etc.
<ma27[m]> gchristensen: more or less, yes :)
<gchristensen> ma27[m]: can we talk more synchronously about that PR when you have a few minutes?
<marek> gchristensen: yes, such attrset tognu command standard
<marek> niksnut: hmm probably yes
<marek> niksnut: looks like that is not used yet
<ma27[m]> gchristensen: yes :)
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
onixie has quit [Remote host closed the connection]
<niksnut> I gave the 20.03-small channel a manual poke to get it to advance
<gchristensen> I just about deployed it to my router, and then remembered I should probably wait until I'm home
<niksnut> heh
__monty__ has quit [Quit: leaving]
orivej has quit [Ping timeout: 240 seconds]
<manveru> does anyone know how to get the closure size of a shell.nix?
aszlig has quit [Quit: Kerneling down for reboot NOW.]
<clever> [clever@amd-nixos:~/apps/rpi/rpi-open-firmware/firmware]$ nix build -f shell.nix --store local?root=/tmp/fakeroot --option substituters 'daemon http://nas.localnet:8081 https://hydra.angeldsis.com'
<clever> [0/8 built, 2/48/66 copied (305.8/2280.2 MiB), 22.7/241.0 MiB DL] fetching arm-none-eabi-binutils-2.31.1 from http://nas.localnet:8081
<clever> manveru: does this work?
aszlig has joined #nixos-dev
<clever> [62 copied (2348.3 MiB), 480.6 MiB DL]
<clever> manveru: 62 things got copied from either nix-daemon or the binary cache, to /tmp/fakeroot/nix/store
<NinjaTrappeur> Anybody using Nixpkgs's nodejs packageset here? => https://github.com/NixOS/nixpkgs/issues/78044
<{^_^}> #78044 (by NinjaTrappeur, 4 weeks ago, open): Node2nix doesn't support the `nodejs-13_x` packageset
drakonis has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
cole-h has joined #nixos-dev
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 258 seconds]
<gchristensen> niksnut: I was thinking about the `tested` jobset and falling back to the old style when being evaluated in hydra. but no good: we don't currently pass a parameter in which flips based if it is actually in Hydra
Jackneill has quit [Remote host closed the connection]
<gchristensen> that takes me back to thinking about having the hydra-like evaluation command in Nix itself, but I don't want to rush that. I wish there were an easy way to recommend people evaluate it, though
<gchristensen> that felt like evaluating a normal expression
drakonis1 has joined #nixos-dev
drakonis has quit [Ping timeout: 272 seconds]
drakonis1 has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
drakonis1 has joined #nixos-dev
orivej has joined #nixos-dev
drakonis1 has quit [Ping timeout: 248 seconds]
drakonis1 has joined #nixos-dev
drakonis1 has quit [Client Quit]
drakonis has joined #nixos-dev
johnny101m has quit [Ping timeout: 240 seconds]
<gchristensen> worldofpeace: do you have any objection to updating the wayland on 20.03 1.17 -> 1.18 ? some bugs become easier to fix with that
johnny101m2 has joined #nixos-dev
<gchristensen> oh no I'm compiling so much
ris has joined #nixos-dev
<ma27[m]> gchristensen: so I'm afraid I don't have sufficient time anymore today to talk about the matrix-synapse PR. Is it okay if I ping you tomorrow on IRC in a PM?
<gchristensen> please!
adit[m] has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<niksnut> gchristensen: well, we could add a jobset argument like { inHydra ? true }: ...
drakonis has joined #nixos-dev
<niksnut> but it's not a good way forward since flakes don't allow arguments
<gchristensen> yeah, but that doesn't accomplish the goal ("make nix-instantiate ... -A tested work like it used to") unless it defaults to false and we edit the jobset configs
<gchristensen> which we could do
<niksnut> well, you can have inHydra ? false and set inHydra = true in the jobset declaration
<gchristensen> exactly
<niksnut> which is what you said :-)
<gchristensen> :)
<gchristensen> this reminds me that I wish the jobsets were declarative so we could more easily track changes to them (and make changes ... like adjusting scheduling shares)
drakonis_ has quit [Ping timeout: 240 seconds]
<niksnut> flakes make them mostly declarative
<gchristensen> yeah that is pretty good
<gchristensen> will be good :)
<gchristensen> also I'm pretty sure we've saturated the the queue runner :)
<niksnut> but yeah ideally hydra wouldn't have any configuration via the web interface
<niksnut> just a config file
drakonis has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 260 seconds]
<aminechikhaoui> the web config is also nice for certain use cases
<aminechikhaoui> e.g pointing to the latest build from an another jobset
<aminechikhaoui> so please don't nuke it :p
drakonis has joined #nixos-dev
<gchristensen> Taneb: ping?
<worldofpeace> FRidh: I see, that has nothing to do with how I merged things right?
<worldofpeace> gchristensen: that kind of package would be my domain so I'll look into it.
drakonis has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos-dev
drakonis has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos-dev
drakonis has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos-dev
ixxie has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
teto has joined #nixos-dev
teto has quit [Client Quit]
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-dev
<andi-> Could someone bump the 19.09 set to the front of the eval queue? After a week it would be nice to get some of the firefox security fixes etc.. out
* samueldr checks if he can
<samueldr> >> v
<samueldr> >> 1313 builds have been bumped to the front of the queue.
<andi-> thanks!
drakonis has joined #nixos-dev
<andi-> also looks like a bunch of jobs are dead due to waiting for a GC: https://hydra.nixos.org/build/113300255, I tried cancel/restart but so far that didn't work
<LnL> to abort jobs like that you need to find the exact build that started it
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
<andi-> ahh right, found one of them. On goes the hunt :-)
<LnL> yeah it's pretty annoying, somebody with more access can also get it unstuck by restarting the queue runner
<andi-> I am tempted to just stop all the scheduled jobs in that eval and restart them... That might solve it
<andi-> It has been going for 9h with little progress
<andi-> has the downside that someone else has to bump them up again (cc samueldr ;-))
<samueldr> >> 1313 builds have been bumped to the front of the queue.
<andi-> <3 samueldr
<{^_^}> samueldr's karma got increased to 169
<LnL> ah yeah that usually also works
<LnL> the build that got stuck is generally part of the first eval that's stalled
<LnL> and there's only 1 eval in this case
drakonis has quit [Remote host closed the connection]
drakonis has joined #nixos-dev
andi- has quit [Quit: WeeChat 2.7.1]
andi- has joined #nixos-dev
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos-dev
orivej has quit [Ping timeout: 255 seconds]