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> I really big portion of my improvements was reviewing PRs. I get to help people but at the same time you can perfect your workflow. Having done so many now I can hear a minor detail and find the solution to problem because I've seen it soo many times.
rsa_ has quit [Ping timeout: 265 seconds]
<ma27[m]> twi
<ma27[m]> (wrong window, sorry)
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos-dev
rsa_ has joined #nixos-dev
tom39291 has quit [Ping timeout: 246 seconds]
tom39291 has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.8]
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
ixxie has quit [Ping timeout: 258 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 264 seconds]
bhipple has quit [Ping timeout: 256 seconds]
sb0_ has joined #nixos-dev
ixxie has joined #nixos-dev
bhipple has joined #nixos-dev
ixxie has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos-dev
drakonis has joined #nixos-dev
<delroth> I've had to manually "@ofborg eval" on my last 2 PRs, I suspect there's an issue with the bot getting notified about new PRs.
<delroth> (my bet is on github yet again changing their webhook format without notice)
<cole-h> delroth: It's weird, because logs aren't showing anything that would point to an issue. No errors, not even (useful) warnings.
<cole-h> Maybe GH just doesn't like you :P
<delroth> it's not just me
<delroth> the ACME maintainer PR also is missing ofborg eval
<cole-h> Yeah, I was being a bit of a dingus. I also had to restart the ocaml PR that happened just before the ACME one
chagra has joined #nixos-dev
chagra_ has quit [Ping timeout: 260 seconds]
Jackneill has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 264 seconds]
ixxie has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos-dev
orivej has joined #nixos-dev
cole-h has quit [Ping timeout: 250 seconds]
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos-dev
justanotheruser is now known as Awstanotheruser
Awstanotheruser is now known as justanotheruser
ixxie has quit [Ping timeout: 265 seconds]
ixxie has joined #nixos-dev
chagra has quit [Ping timeout: 256 seconds]
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos-dev
<adisbladis> infinisil: What's the state of https://github.com/NixOS/nixpkgs/pull/75584 ?
<{^_^}> #75584 (by Infinisil, 18 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
__monty__ has joined #nixos-dev
chagra has joined #nixos-dev
ixxie has quit [Ping timeout: 264 seconds]
ixxie has joined #nixos-dev
sb0_ has quit [Quit: Leaving]
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos-dev
obadz has quit [Quit: WeeChat 2.8]
obadz has joined #nixos-dev
obadz has quit [Client Quit]
obadz has joined #nixos-dev
<raboof> so 'nix dev-shell' seems to be geared towards the "open a shell with a derivations' dependencies" use case.
<raboof> there is also the "shell with adhoc/project-specific dependencies" use case ("shell.nix"/"nix-shell -p").
<raboof> I wonder if that should be a different command in the new nix?
<raboof> would make sense to me, and perhaps simplify both (e.g. it seems opening a different shell than bash is complicated because of the former usecase but perhaps would only be needed for the latter one)
tilpner has quit [Ping timeout: 264 seconds]
tilpner_ has joined #nixos-dev
tilpner_ is now known as tilpner
obadz has quit [Quit: WeeChat 2.8]
obadz has joined #nixos-dev
<LnL> yeah nix-shell is overloaded, that's why there's dev-shell and run on the new cli
<raboof> ah, makes sense! `nix run` doesn't seem to support something like shell.nix yet (using its '-f' with a shell.nix produces 'variable $src or $srcs should point to the source'). would that be in scope to add?
<qyliss> I think that's what dev-shell is for
<raboof> hmm, OK, I haven't quite understood how it can be used like that
<Valodim> I think the whole point of `nix run` is to keep development-oriented workflows (including shell.nix stuff) out of it :)
<raboof> yeah, splitting that up somewhere makes a lot of sense.
<infinisil> adisbladis: Latest developments in https://github.com/NixOS/nixpkgs/pull/82743, for which I only need to write docs and rename the feature
<{^_^}> #82743 (by Infinisil, 4 weeks ago, open): Partially typed modules (!)
<infinisil> Oh and the other PR https://github.com/NixOS/nixpkgs/pull/75584 also needs docs hah
<raboof> I like how there's a smooth path from 'nix-shell with adhoc parameters' to 'nix-shell with shell.nix' to 'actually properly packaging stuff'. whether that middle step lives in 'run' or 'dev-shell' is not super important, but right now feels missing from `nix`
<{^_^}> #75584 (by Infinisil, 18 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
teto has joined #nixos-dev
<gchristensen> looks like ofborg went down for a bit, I've gotten it going again - apologies
bhipple has quit [Ping timeout: 258 seconds]
<globin> gchristensen++
<{^_^}> gchristensen's karma got increased to 271
<gchristensen> is anyone using nixops' storeKeysOnMachine?
<globin> gchristensen: we were thinking about starting to use it, why?
<gchristensen> I want to delete it
<globin> why?
<gchristensen> would your use case be supported by setting keys.name.destDir to somewhere persistent instead?
<gchristensen> globin: it puts keys in the store
<globin> Ah then we wanted to use the destDir :)
<globin> ignore me
<gchristensen> we'll delete it then :P
<globin> +1
teto has quit [Ping timeout: 265 seconds]
teto has joined #nixos-dev
<jtojnar> worldofpeace: re: ofborg & module maintainers https://logs.nix.samueldr.com/nixos-dev/2020-04-16#1587067316-1587068693;
justanotheruser has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos-dev
<worldofpeace> Jan Tojnar: when I add a gtk theme to buildInputs it doesn't get added to XDG_DATA_DIRS in the wrapper. Is that expected?
janneke has quit [Quit: janneke quits Mes'sing]
<worldofpeace> oooh
<worldofpeace> that does look easy
janneke has joined #nixos-dev
<worldofpeace> ^ that one is re ofborg
<{^_^}> #79840 (by knl, 9 weeks ago, open): oauth2_proxy: 3.2.0 -> 5.1.0
cole-h has joined #nixos-dev
<worldofpeace> Hi, does anyone know how to figure out how many new contributors we had in 20.03?
<worldofpeace> making the news announce because we're releasing today
<gchristensen> <3 worldofpeace <3 disasm
<{^_^}> disasm's karma got increased to 24, worldofpeace's karma got increased to 120
<gchristensen> <3 worldofpeace <3 disasm
<{^_^}> disasm's karma got increased to 25, worldofpeace's karma got increased to 121
<gchristensen> <3 worldofpeace <3 disasm
<{^_^}> disasm's karma got increased to 26, worldofpeace's karma got increased to 122
<worldofpeace> hehe, disasm is afk and I don't think he knows 🤣
<worldofpeace> we also need to get the channel to update to have the manual changes (just release number). it seems we've merged a change and the 20.03 manual is already on the website https://github.com/NixOS/nixos-homepage/issues/400
<{^_^}> nixos-homepage#400 (by samueldr, 1 day ago, open): Decouple the nixos/nixpkgs manuals from the nixpkgs flake input
<worldofpeace> I triggered an eval
<cole-h> worldofpeace: I would probably `git checkout` the date we forked off for 19.09 and compare the maintainer list. Wouldn't cover people who sent one-offs, but that's the simplest I can think of
<cole-h> ✨ worldofpeace ✨ disasm (hope this works)
<{^_^}> disasm's karma got increased to 27, worldofpeace's karma got increased to 123
<worldofpeace> cole-h: our manual says `Commits by contributor: git log release-14.04..release-14.12 --format=%an|sort|uniq -c|sort -rn`, and I believe that just sorts every contributors commits in a rank between the releases
<cole-h> Oh, that works too
<worldofpeace> I'm not sure if I can subtract the number for 20.03 from 19.09
bhipple has joined #nixos-dev
emilazy has quit [Ping timeout: 245 seconds]
emilazy has joined #nixos-dev
drakonis has joined #nixos-dev
<qyliss> worldofpeace: I don't think you would subtract there? That command should cover _only_ commits between the two releases.
<globin> yeah what qyliss says, that's what we've always done :)
<jtojnar> worldofpeace it also needs glib
<jtojnar> apparently propagation does not work with makeSetupHook
<qyliss> I would have done git shortlog -sne nixpkgs/release-14.04..nixpkgs/release-14.12, fwiw
<qyliss> But that appears to give slightly different results, which I am extremely curious about
<qyliss> Ah, the mailmap
<qyliss> Ohhh, it was because I used -e for email addresses, and shouldn't have
<qyliss> So git shortlog -sn does exactly what we want, but faster :)
<worldofpeace> Jan Tojnar: that's in response to "gtk themes not being added to xdg data dirs" right
<worldofpeace> qyliss: thank you, I will add that to my notes of "things to update docs for"
<abathur> <3 qyliss
<{^_^}> qyliss's karma got increased to 50
<worldofpeace> hmm
<worldofpeace> ✨ qyliss
<{^_^}> qyliss's karma got increased to 51
<worldofpeace> ok, that's more precise
<cole-h> ✨ qyliss
<{^_^}> qyliss's karma got increased to 52
<abathur> I've kinda wished there was linter-esque analysis tool out there that could accumulate a database linking equivalent shell commands and scan scripts for performance wins
<abathur> I guess Nix might actually be an interesting ecosystem for such a thing, though it's a yak too far for me at the moment :)
ixxie_ has joined #nixos-dev
bhipple has quit [Ping timeout: 264 seconds]
<jtojnar> worldofpeace yup, responded to that
<worldofpeace> Jan Tojnar: I tried it with elementary-planner, glib is already in buildInputs, and there's no entry of elementary-gtk-theme in the wrapper
teto has quit [Quit: WeeChat 2.8]
<gchristensen> globin: maybe you'd like to join #nixops? I'd like to know what y'all think about some of the top issues in here: https://github.com/NixOS/nixops/issues
scott has quit [Ping timeout: 245 seconds]
scott has joined #nixos-dev
elvishjerricco has quit [Ping timeout: 265 seconds]
elvishjerricco has joined #nixos-dev
chagra has quit [Quit: WeeChat 2.7.1]
<samueldr> can anyone tell me whether the AMIs are for 19.09 or 20.03? https://nixos.org/download.html
<samueldr> I'm writing a commit message and don't want to lie
<gchristensen> 19.09
<samueldr> gchristensen: verified or assumed?
<samueldr> because I assumed the reverse
<gchristensen> well I'm assuming ,but 99% sure nobody in the infra team has built and released new AMIs for 20.03
<samueldr> ah
<samueldr> I see, it's a list
<samueldr> I thought it was somehow automatic
<samueldr> you're right, so that isn't an issue
<worldofpeace> so gchristensen teach me your ways
<gchristensen> uh oh
<gchristensen> :D
<samueldr> don't start in bash or it stays in bash?
<gchristensen> that is a good tip
<worldofpeace> hahah
<samueldr> worldofpeace: what isn't it doing that it should be doing?
cbarrett has quit [Ping timeout: 265 seconds]
<worldofpeace> samueldr: hmm, it seems to now do the thing.
<samueldr> great?
<worldofpeace> I guess gchristensen has effortless defeated the obstacle
<worldofpeace> *effortlessly
<worldofpeace> I'm impressed
cbarrett has joined #nixos-dev
<gchristensen> I restarted the one failed job, did that do it? :)
<worldofpeace> I guess, but how hydra's ui acts when you restart stuff is confusing
<worldofpeace> " A dependency of the build failed; all 82 constituent builds succeeded "
<cole-h> "Status: failed" -> click log -> "15 out of 15 tests succeeded"
<jtojnar> worldofpeace sorry, missread before (thought you were talking about gtk schemas), themes are never added to wrappers
ixxie_ has quit [Quit: leaving]
ixxie_ has joined #nixos-dev
ixxie_ has quit [Client Quit]
<worldofpeace> Jan Tojnar: should we change that?
<samueldr> worldofpeace: indeed, the state is saved on that build, so if you have an aggregate job it doesn't end up being updated by new successes
<samueldr> I think that's what's going on
<samueldr> not sure if it would be too expensive to go through all aggregate depending on it and refresh them
<worldofpeace> samueldr: it doesn't exist, but the hand of a skeleton would describe my hands doing that 😁 but not worse than marking failed builds
<samueldr> I meant in hydra, once a build is done, to always refresh the builds depending on it
<samueldr> though I'm not saying to requeue actual builds, *that* would get expensive quickly, but it might be interesting to have a new state
<samueldr> "stale"
<samueldr> a build which has dependents that have now successfully built, that was marked as failed through dependencies previously
<worldofpeace> samueldr: so we have https://github.com/NixOS/nixos-homepage/pull/392, would your PR still make sense if there were two refs to 20.03?
<{^_^}> nixos-homepage#392 (by garbas, 6 days ago, open): 20.03 NixOS release
<worldofpeace> stale kinda makes sense to me
<worldofpeace> but I've probably looked at hydra source only once
<samueldr> worldofpeace: yes, for whenever 20.09 invariably ends up being used to build the site before its release :)
misuzu has quit [Quit: leaving]
<samueldr> and maybe we can tweak the release process for the website by doing it in two steps
<garbas> samueldr: for #401 we would also need to run flake update on a cron job
<{^_^}> https://github.com/NixOS/nixpkgs/pull/401 (by cpages, 7 years ago, merged): doxygen: update to 1.8.3.1
<garbas> well we should be already doing this, but we are not
<samueldr> we can run the build off of the beta release for a couple days/weeks freely that way
<samueldr> garbas: well said, but that's a bit out of scope of that change
<garbas> +1
<samueldr> I didn't check, but I assumed it was already being done
<samueldr> garbas: can you open an issue for it, so it's not forgotten?
<garbas> i also thought i did it, but it looks like i didn't
misuzu has joined #nixos-dev
<garbas> i'll actually jump on it right away.
<samueldr> worldofpeace: I'll make the change off the top of nixos-homepage#392, since I heard it may be merged soon™
<{^_^}> https://github.com/NixOS/nixos-homepage/pull/392 (by garbas, 6 days ago, open): 20.03 NixOS release
<samueldr> well, rebase on top of it
<worldofpeace> samueldr: yep, as soon as input nixpkgs updates
<drakonis> the time has come
<worldofpeace> garbas: you're making update.sh update the correct flake?
<garbas> worldofpeace: i'm going to make "nix flake update" run every our at the same time when we update the website
<samueldr> right, this allows us not to update the build nixpkgs, while keeping the released nixpkgs fresh, if desired
<garbas> well just before that
__monty__ has quit [Quit: leaving]
ixxie has quit [Quit: Lost terminal]
<jtojnar> worldofpeace I think it would have the same rationale as the icon themes. Most apps take the theme settings from system, not choose elementary theme when available, do they?
<worldofpeace> Jan Tojnar: elementary-planner in particular hardcodes the theme, and so does their greeter.
<worldofpeace> in the future they're going to add code to granite to opt into the theme so every app that uses granite will use the theme
<jtojnar> then it makes sense to include them there
<jtojnar> ugh
<worldofpeace> that's actually a good thing, you don't globally use the theme. so if you use an app that looks broken with their stylesheet it'll just use adwaita
<worldofpeace> because it hasn't opt'd in
<jtojnar> does that mean that elementary will default to adwaita for non-elementary apps?
<jtojnar> e.g. firefox
<worldofpeace> Jan Tojnar: Yes, I believe exactly that
<jtojnar> and also that the opt-in will override the default system theme, so elementary apps will look ugly on systems using other themes
<jtojnar> (that is the ugh part for me)
<jtojnar> s/ugly/out of place/
<worldofpeace> Jan Tojnar: true, elementary apps will look out of place because they use their stylesheet if it's different than the system's. But they don't support others anyways
<jtojnar> yeah, but not supporting those could easily just mean respecting the user's theme and leaving the theme authors to fix it
<worldofpeace> maybe they can add a preference that the granular behavior can be overridden, and can leave that choice up to distributors.
justanotheruser has quit [Ping timeout: 258 seconds]
justanotheruser has joined #nixos-dev
<worldofpeace> samueldr: do you know what this failure means https://github.com/NixOS/nixos-homepage/pull/403/checks
<samueldr> haven't checked yet, but saw it
<samueldr> it's "error: getting status of '/nix/store/02r7db1llk2wqrzcb5cp48c82dgsydyb-source/flake.nix': No such file or directory", all the things about yarn beforehand I believe is fine
<worldofpeace> samueldr: it looks like nix-plls doesn't have `flake: false`
<worldofpeace> maybe that's why it can't find flake.nix
<samueldr> >> inputs.nix-pills = { url = "github:NixOS/nix-pills"; flake = false; };
<samueldr> oh, the .lock version went from 5 to 4
<samueldr> I haven't followed flakes development so I don't know much about all of it
<worldofpeace> me either, it's a bit frustrating that I have to use flake here
<worldofpeace> so I'm looking at it deployed and it shows 19.09 download links? https://github.com/NixOS/nixos-homepage/pull/392
<{^_^}> nixos-homepage#392 (by garbas, 1 week ago, open): 20.03 NixOS release
<worldofpeace> TLDR; nixos-homepage has completely changed since 19.09 and the docs on how to update it don't exist
<gchristensen> cc garbas
<worldofpeace> gchristensen: hehe, he's asleep I think
<worldofpeace> but, I knew I was walking into something like this anyways
<gchristensen> I'm not quite sure when he sleeps / is awake ....
<worldofpeace> I'm not sure if it was mentioned if https://github.com/NixOS/nixos-homepage/pull/403 was required
<{^_^}> nixos-homepage#403 (by garbas, 1 hour ago, open): Update flake.lock in cronjob
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos-dev
<samueldr> worldofpeace: not required
<samueldr> it's something that can happen later on
<samueldr> we've been running the site for 19.09 without it :)
<samueldr> what fails if this is not merged? manual updates will not show up
<worldofpeace> cool
<samueldr> packages and options page are using an external data source
<samueldr> so the packages listing stays fresh
<worldofpeace> samueldr: I was wondering about this, thanks
<samueldr> if for some reason this isn't merged, and there's a manual emergency, a simple manual nix flake update would work in a pinch
rajivr___ has quit [Quit: Connection closed for inactivity]
<cole-h> disasm++
<{^_^}> disasm's karma got increased to 28
<drakonis> its here...
<drakonis> time to harvest that sweet sweet karma
<cole-h> disasm++
<{^_^}> disasm's karma got increased to 29
<hexa-> disasm++
<{^_^}> disasm's karma got increased to 30
<drakonis> disasm++
<{^_^}> disasm's karma got increased to 31
worldofpeace_ has joined #nixos-dev
<worldofpeace_> samueldr: you are an irc wizard right?
<worldofpeace_> alt worldofpeace for topic adjustment
bhipple has joined #nixos-dev
<jtojnar> worldofpeace++ disasm++
<{^_^}> disasm's karma got increased to 33, worldofpeace's karma got increased to 133
<drakonis> perfect.
<drakonis> its on hn and lobsters now
<drakonis> should draw some measure of attention
<drakonis> ridin' the karma
bhipple has quit [Ping timeout: 256 seconds]
<danderson> *confetti*
bhipple has joined #nixos-dev
<samueldr> worldofpeace: not enough, I think it's gchristensen you want to ask for help :)
<jtojnar> do the stats in the announcement include merge commits?
<worldofpeace> samueldr: cool, he'll figure it out after he's back
<worldofpeace> Jan Tojnar: I can show you the command
<jtojnar> would be a nice footnote
<gchristensen> worldofpeace / worldofpeace_ go ahead :)
<danderson> hah, hoisted by my backported petard, tailscale isn't in the "new services" section - presumably because a program ran over "what's new since 19.09" and found tailscale there too :)
<gchristensen> danderson: PR a fix? :)
<danderson> (I don't care, I was just reading through relnotes and noticed)