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
<worldofpeace> samueldr: yep, I have twice for the same eval. Will try with a different one maybe.
<samueldr> weird how that same eval seems to work for me
<samueldr> assuming you didn't cut the output
<samueldr> .... just now finished
<worldofpeace> it'll get far enough parsing some builds, but it will try to get a certain one and then fail. I just did 1571034 all cleaned up and it now fails at Error downloading https://hydra.nixos.org/build/113050517
<samueldr> and you do retry?
<worldofpeace> will now retry with the new cache
<samueldr> I mean, when you hit a (presumed) download failure, do you try to re-run without evicting from the cache?
<worldofpeace> Yes, but it still happens even if I evict the cache
<worldofpeace> I'm considering my network is just having a funny time with hydra 🤣, and I just encountered non robust fetching
<samueldr> in this prsumed case, I don't think there is a cached error
<samueldr> can you use `curl $thaturl` right after an error?
<samueldr> I'm thinking I shouldn't have made curl quiet even though I was asked nicely :)
<worldofpeace> samueldr: hmmm, it worked with --show-error --fail
<samueldr> what worked?
<worldofpeace> curl --show-error --fail -X GET https://hydra.nixos.org/build/113078960
<samueldr> and if you re-run the script?
<worldofpeace> so it just times out
<samueldr> right, not much I can do here
<samueldr> I added a commit with those nice command line parameters
<samueldr> if you pull, "hopefully" (not really) you'll face a timeout and see if it helps knowing
<worldofpeace> samueldr: yeah, that helps to actually know what happened. `curl: (28) Failed to connect to hydra.nixos.org port 443: Connection timed out` is the output
<worldofpeace> thanks anyways
<samueldr> "great" :/
<samueldr> get a worse internet connection maybe?
<samueldr> (mine isn't that great)
<samueldr> worldofpeace: maybe add "--connect-timeout", "120", or something bigger in fetch.rb where the curl command is being built
<samueldr> if you can reproduce faithfully enough
<worldofpeace> samueldr: you read my mind, I was just searching for that
<worldofpeace> and maybe doing less connections at a time would help too
<samueldr> there is no parallelization
<samueldr> it all happens serially, in most part because I don't want to hit hydra harshly
johnny101m has quit [Ping timeout: 260 seconds]
johnny101m2 has joined #nixos-dev
johnny101m2 has quit [Ping timeout: 248 seconds]
johnny101m has joined #nixos-dev
bhipple has joined #nixos-dev
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-dev
<gchristensen> knownHosts to an attrset is pretty awkward actually
<gchristensen> is there a way to do: rec { "foo.bar" = 1; bar.baz = "foo.bar"; } ?
<gchristensen> this, rather: rec { "foo.bar" = 1; "bar.baz" = "foo.bar"; } ?
<gchristensen> ehh I'm going back to the list for now
<infinisil> > let res = rec { "foo.bar" = 1; bar = res."foo.bar"; baz = bar; }; in res
<{^_^}> { bar = <CODE>; baz = <CODE>; "foo.bar" = 1; }
<infinisil> > :p let res = rec { "foo.bar" = 1; bar = res."foo.bar"; baz = bar; }; in res
<{^_^}> { bar = 1; baz = 1; "foo.bar" = 1; }
<gchristensen> oh, knownHosts still suppors multiple hostnames so it isn't needed
<gchristensen> that is good, otherwise this is a bit gnarly :)
justanotheruser has quit [Quit: WeeChat 2.6]
justanotheruser has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.7]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos-dev
morgib has joined #nixos-dev
bhipple has quit [Remote host closed the connection]
tilpner_ has joined #nixos-dev
tilpner has quit [Ping timeout: 268 seconds]
cole-h has quit [Ping timeout: 272 seconds]
ris has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos-dev
kalbasit has quit [Ping timeout: 248 seconds]
lightbulbjim has quit [Ping timeout: 248 seconds]
lightbulbjim has joined #nixos-dev
morgib has quit [Ping timeout: 248 seconds]
rajivr___ has quit [Ping timeout: 248 seconds]
cbarrett has quit [Ping timeout: 248 seconds]
vdemeester has quit [Ping timeout: 248 seconds]
davidtwco has quit [Ping timeout: 248 seconds]
chrisaw has quit [Ping timeout: 248 seconds]
johanot has quit [Ping timeout: 248 seconds]
chrisaw has joined #nixos-dev
vdemeester has joined #nixos-dev
kalbasit has joined #nixos-dev
cbarrett has joined #nixos-dev
johanot has joined #nixos-dev
davidtwco has joined #nixos-dev
morgib has joined #nixos-dev
rajivr___ has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
morgib has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-dev
<yorick> gchristensen: hmm
<yorick> wonder why that didn't show up in testing
<yorick> (narrator: because you didn't rebase your testing branch)
lassulus has quit [Ping timeout: 272 seconds]
Synthetica has joined #nixos-dev
<niksnut> hm: Feb 19 11:47:12 bastion r5sndqqxf7gb6z6x4b9m22882h97x0gz-unit-script-update-nixos-20.03-small-start[6649]: channel would go back in time from nixos-20.03beta-552.08c4b48d3ab to nixos-20.03beta-483.c2846eeac5f, bailing out
<niksnut> did the revcount delta change or something?
clkamp_ has joined #nixos-dev
clkamp_ has quit [Remote host closed the connection]
clkamp_ has joined #nixos-dev
eyJhb has quit [Quit: Clever message]
layus[m] has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
<gchristensen> niksnut: I changed it once before the channel was created, since it was creted with way too high a number
worldofpeace has joined #nixos-dev
layus[m] has joined #nixos-dev
<ma27[m]> niksnut: in case you have time to look at it, is there anything I can do to make https://github.com/NixOS/nix/pull/3216 mergable? :)
<{^_^}> nix#3216 (by Ma27, 14 weeks ago, open): Add an optional `hash` parameter to `builtins.fetchGit`
<gchristensen> r13y: -\_ 96.77% after iso_minimal grew to depend on 40 more paths
clkamp_ has quit [Remote host closed the connection]
<niksnut> ma27[m]: thanks, I just added a comment
<ma27[m]> niksnut: thx for taking a look at this :) As far as I understand your comment, each fetcher now has a `narHash`-attribute and this change is therefore obsolete?
psyanticy has joined #nixos-dev
<niksnut> yes, at least that's the idea
<niksnut> I still need to add some test cases
orivej has quit [Remote host closed the connection]
orivej has joined #nixos-dev
clkamp_ has joined #nixos-dev
<srk> gchristensen: iso path sizes http://ix.io/2c8t
<gchristensen> oh fancy
<gchristensen> srk: :( :( :( python2 and python3 in the minimal iso :(
<srk> but if you remove firmware
<srk> :D
<srk> this one as well openelec-dvb-firmware-0.0.51
<srk> hah, both pythons .. funny
<gchristensen> the main reason I'm chomping at the bit for 20.03beta is to get my system python2-less :)
<srk> for i in $( nix-store -q -R /nix/store/9vhma45g9saq1fwffjdyl9i1p50h3cqd-nixos-system-nixos-20.09pre-git ); do s="$( nix-store -q --size $i )"; echo $s $i; done | sort -r -n | awk '{ print $1 / 1024 / 1024, "MB", $2 }'
<srk> such oneliner
<gchristensen> beautiful
<srk> why not python*-less :D
<gchristensen> I don't mind python :) I mind software that should have gone away 10yrs ago hehe
<srk> isn't there a stripped down version of python as well?
asymmetric has joined #nixos-dev
asymmetric has quit [Changing host]
orivej has quit [Ping timeout: 268 seconds]
<manveru> is there some easy way to get the list of failing ZHF packages with me as maintainer?
<manveru> i guess i could write a script to scrape the hydra page... was just wondering if there's something more straight-forward :)
<gchristensen> manveru: https://hydra.nixos.org/dashboard/graham@grahamc.com#tabs-my-jobs do you know this tab?
<manveru> i don't
<gchristensen> do you have a hydra account?
<manveru> hmm
<manveru> i had one long ago, but apparently i can't login anymore
<gchristensen> did you log in with google?
<manveru> no
<manveru> normal user/pass login
<manveru> or maybe that was for some other part of nixos.org, just found it in bitwarden
<srk> google accounts /o\
<FRidh> gchristensen: what package brings in python2?
<srk> that's a bit harder oneliner
<gchristensen> not sure, FRidh nix-store -qR /run/current-system | grep python2 | xargs -n1 nix why-depends -a /run/current-system
CRTified has quit [Ping timeout: 272 seconds]
<manveru> gchristensen: so, how does one get an account there? :)
<gchristensen> click log in with google :P
<manveru> great, just had to disable all tracking protection :P
<gchristensen> you can immediately re-enable it once you're logged in
<srk> talloc = callPackage ../development/libraries/talloc {
<srk> python = buildPackages.python2;
<srk> cause of this ^^
<gchristensen> why do > pkgs.talloc.meta.description
<gchristensen> > pkgs.talloc.meta.description
<{^_^}> "Hierarchical pool based memory allocator with destructors"
<gchristensen> I'm surprised iso_minimal depends on talloc
CRTified has joined #nixos-dev
<srk> via cifs-utils
<FRidh> we can move the talloc python bit into a separate output
<gchristensen> I'm surprised iso_minimal depends on cifs-utils
<srk> yeah, won't build with py3
<srk> File "/build/talloc-2.1.14/third_party/waf/wafadmin/Scripting.py", line 146
<srk> except Utils.WafError, e
<srk> Subject: Python3 bindings included, Version: 2.1.16-1
<srk> that could do it
<srk> yeah, looks good with py3, one less python \o/
CRTified has quit [Ping timeout: 258 seconds]
<srk> #80537
<{^_^}> https://github.com/NixOS/nixpkgs/pull/80537 (by sorki, 29 seconds ago, open): talloc: 2.1.14 -> 2.1.16, build with python3
clkamp_ has quit [Remote host closed the connection]
<emily> gchristensen: yay, I only have two things depending on python 2.7 on my system and one of them is pypy's bootstrap so not relevant
<gchristensen> nice
<emily> hm, https://github.com/Nicotine-Plus/nicotine-plus/issues/99 looked unpromising but it's been worked on in the past few days, maybe I'll be python2-free within a year of it being EOL :|
<{^_^}> Nicotine-Plus/nicotine-plus#99 (by dvzrv, 13 weeks ago, open): Port to python3
orivej has joined #nixos-dev
ixxie has joined #nixos-dev
CRTified has joined #nixos-dev
bridge[evilred] has quit [Remote host closed the connection]
bridge[evilred] has joined #nixos-dev
red[evilred] has joined #nixos-dev
<gchristensen> samueldr: I'm thinking about making a handful ~half the aarch64 builders "big-parallel" with few jobs/many cores. does that sound like a good improvement to you?
<srk> +1
<srk> can I somehow help with armv7l builders?
<srk> thefloweringash: ^
<thefloweringash> Ooh, I like that change. My motivation is to get chromium cached: see #78347
<{^_^}> https://github.com/NixOS/nixpkgs/pull/78347 (by thefloweringash, 3 weeks ago, open): chromium: increase parallelism on aarch64
<thefloweringash> The PR for the builders is here: https://github.com/grahamc/packet-nix-builder/pull/2. The only remaining non-trivial task I’m aware of is to update the packet importer. Maybe pick over the PR and add a review?
<{^_^}> grahamc/packet-nix-builder#2 (by thefloweringash, 2 weeks ago, open): armv7l-linux build vm for aarch64-linux machines
<srk> thefloweringash++
<{^_^}> thefloweringash's karma got increased to 10
<gchristensen> it is very strange to me just how long it has taken for the first `tested` job to finish
<srk> epic
<gchristensen> thefloweringash: I think it looks okay, it is on my to-do to review ... sorry for the long wait :(
drakonis has joined #nixos-dev
<samueldr> gchristensen: sounds good
<samueldr> though I think the most accessible actual solution to the problem requires that longer builds don't get sent to busy builders, and trivial builds to "big-parallel" builders
<gchristensen> so there is the easy way (mark them as big-parallel) and the hard way (implement a different scheduling algorithm)
lassulus has joined #nixos-dev
cole-h has joined #nixos-dev
<Profpatsch> niksnut: we are on 19.09 and suddenly our scripts stopped working because they can’t access their per-user gcroots directories anymore: https://github.com/NixOS/nixpkgs/pull/70874#issuecomment-588336585
<Profpatsch> *switched to 19.09
<Profpatsch> It doesn’t look like they are generated automatically.
<Profpatsch> Or at least nix is not the only program depending on them to be there, so they shouldn’t depend on nix creating them at some undefined time.
<gchristensen> it is unfortunate but we can't really und othat
<gchristensen> and we can't revert it in stable, Profpatsch -- we'll have to fix the tools
<Profpatsch> gchristensen: but how should they be fixed?
<samueldr> is it related to the issue on the aarch64 builder where nix-env doesn't work without mkdir'ing /nix/var/nix/profiles/per-user/$USER and switching profile beforehand?
<samueldr> >> error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied
<Profpatsch> gchristensen: I think nixos should generate the directories.
<Profpatsch> Doesn’t matter if nix magically generates them on first use
<Profpatsch> nixos knows the users (at least in immutable mode, which should be the default), so nixos should set them up.
<Profpatsch> For my use-case, I might be able to hack something together with activationScripts.
edef has quit [Ping timeout: 260 seconds]
edef has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
__monty__ has joined #nixos-dev
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
orivej has quit [Ping timeout: 255 seconds]
rajivr___ has quit [Quit: Connection closed for inactivity]
<gchristensen> Profpatsch: it should automatiactlyl happen when they log in
<gchristensen> if it isn't, that is the bug to fix IMO
<samueldr> sure sounds like the issue that's happening on the aarch64 builder
<gchristensen> we should fix it :P
<gchristensen> okay this is interesting
<gchristensen> I've figured out why this dang chromium test is taking freaking forever to "start"
<gchristensen> nixos:release-20.03:nixos.tests.chromium.x86_64-linux depends on chromium but chromium is not a job
<gchristensen> so it is just in the background building forever
<gchristensen> treated as if it were a trivial writeText
<gchristensen> https://hydra.nixos.org/build/112999422 is the same chromium the test depends on. should it get a proper job, or should the test be deleted? I sort of assume someone tried to remove the job
<ajs124> isn't that how this always works? jobs (including tests) are blocked until all of their dependencies are built?
<gchristensen> yes, but the jobset doesn't list chromium as a dependency
<gchristensen> more concretely, Hydra doesn't have an entrty here https://hydra.nixos.org/eval/1571201 for every little derivation -- like fetching sources -- only the ones named as top-level jobs
<gchristensen> the test depends on chromium but there isn't a top-level job for it in the evaluation
<gchristensen> usually depndencies which don't get names take ~no time at all to run. it is unusual for a build to have a significant dependency
<gchristensen> which is unnamed
<gchristensen> oh what I'm totally wrong I take everything back the job is there :|
<ajs124> I thought there was a job for every nixpkgs attribute in the release jobsets?
* gchristensen has hydra blindness
<ajs124> Well, all minus broken etc
* emily is kinda confused too
<samueldr> gchristensen: confusingly, you linked to a different eval?
<gchristensen> I am confused yes
<gchristensen> yeah, I wasn't seeing https://hydra.nixos.org/build/113079749
<samueldr> and chromium too...
<gchristensen> I was wrong and confused :(
<samueldr> no worries, who isn't?
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<gchristensen> samueldr: looking at the numbers, maybe even just having 1 machine which is exclusively big-parallel might be sufficient
ris has joined #nixos-dev
<gchristensen> I need to stop being fixated on this job and do other work lol
psyanticy has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-dev
johnny101m has quit [Quit: -a- Connection Timed Out]
johnny101m has joined #nixos-dev
lovesegfault has joined #nixos-dev
<emily> oh hey https://github.com/NixOS/nixpkgs/pull/79026 is ZHF-related and a package I'm theoretically meant to maintain... but apparently you can't do the fancy PR-editing stuff as just a maintainers rgoup member, aw
<{^_^}> #79026 (by sorki, 2 weeks ago, open): blackmagic: v1.6.1-317-gc9c8b08 -> v1.6.1-404-gc3a3f77 (add new targets)
<jtojnar> hmm PHP has online docbook editor
<jtojnar> https://edit.php.net/?project=PHP&perm=en/regexp.reference.escape.php
<samueldr> jtojnar: http://git.php.net/?p=web/doc-editor.git;a=summary
<gchristensen> yeah they do, it is pretty good
<jtojnar> it looks to me like it is more focused on collaboration/reviews than docbook editing
<jtojnar> do not see any XML editing functions
ixxie has quit [Ping timeout: 240 seconds]
<worldofpeace> disasm: samueldr infinisil Jan Tojnar Can any of you look at this PR https://github.com/NixOS/nixpkgs/pull/80456? I believe fish is broken on master
<{^_^}> #80456 (by cole-h, 1 day ago, open): nixos/fish: fix completions patch
<worldofpeace> Jan Tojnar: I believe you're a fish user right?
<cole-h> ^^;
* emily wonders if "Jan Tojnar" actually pings jtojnar
<cole-h> Probably, because they appear to be using the Matrix bridge
<FireFly> they both are, so I presume it was a nickping Matrix-side
<cole-h> ^
<worldofpeace> yeah, we're cool and use MATRIX 🤣
<drakonis> itc: matrix users
Jackneill has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
<emily> ah, makes sense
<emily> and hey, I use matrix too, my client is just too low-tech to do the proper pings :(
drakonis has quit [Quit: WeeChat 2.7]
__monty__ has quit [Quit: leaving]
drakonis has joined #nixos-dev
bhipple has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 248 seconds]
drakonis_ has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos-dev
drakonis1 has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 248 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos-dev