worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 | 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
drakonis has quit [Quit: WeeChat 2.8]
ryantm_ has joined #nixos-dev
CRTified has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 260 seconds]
andi- has quit [Ping timeout: 272 seconds]
andi- has joined #nixos-dev
ris has quit [Ping timeout: 272 seconds]
ris has joined #nixos-dev
cole-h has quit [Quit: Goodbye]
ris has quit [Read error: Connection reset by peer]
ris has joined #nixos-dev
ris has quit [Ping timeout: 246 seconds]
ris has joined #nixos-dev
alp_ has joined #nixos-dev
evax has joined #nixos-dev
ris has quit [Remote host closed the connection]
ris has joined #nixos-dev
<colemickens> how do we update vim plugins? I can't get past 429s from github
<colemickens> this is /really/ aggrevating
<srhb> colemickens: probably needs support for authenticating to defeat the rate limits.
<domenkozar[m]> yikes
<colemickens> okay urllib, ok
<colemickens> Why yikes? Isn't that what Fedora Silverblue is doing too?
__monty__ has joined #nixos-dev
FRidh has joined #nixos-dev
alp_ has quit [Ping timeout: 272 seconds]
alp_ has joined #nixos-dev
alp_ has quit [Ping timeout: 272 seconds]
ris has quit [Ping timeout: 246 seconds]
ris has joined #nixos-dev
orivej has joined #nixos-dev
alp_ has joined #nixos-dev
_ris has joined #nixos-dev
ris has quit [Ping timeout: 256 seconds]
adisbladis has quit [Remote host closed the connection]
adisbladi has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
fps has quit [Remote host closed the connection]
_ris has quit [Read error: Connection reset by peer]
ris has joined #nixos-dev
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
ckauhaus has joined #nixos-dev
teto has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-dev
_ris has joined #nixos-dev
ris has quit [Ping timeout: 265 seconds]
_ris has quit [Ping timeout: 272 seconds]
teto has joined #nixos-dev
_ris has joined #nixos-dev
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<teto> colemickens: did I a already mention `update.py --proc 1` ?
<colemickens> I found that, and also patched in Auth header support :)
<colemickens> I will send a pr and close out the issue I opened tomorrow
<kiwiirc> if the man page for configuration.nix is too big for someone are the contents of its various sections in dedicated sub man pages? like man configuration-appstream.nix
<Profpatsch> kiwiirc: I don’t think so, but sounds like a cool project ideas
<Profpatsch> -s
alp_ is now known as alp
<kiwiirc> i think it would make it easier to use
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
adisbladi is now known as adisbladis
_ris has quit [Ping timeout: 246 seconds]
_ris has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<kiwiirc> seems like a weird design to put a bunch of stuff like nginx service into a core namespace. why not have core namespace super minimal and most stuff in the namespace for the package?
<gchristensen> sounds like a great PR :)
ris has joined #nixos-dev
<domenkozar[m]> any good content for nixos weekly? :)
<gchristensen> did you get the software heritage post?
<domenkozar[m]> yeah :)
<gchristensen> undoubtedly the error message work is there
<gchristensen> https://github.com/grahamc/netboot.nix/ was popular on twitter -- might be interesting to include
_ris has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-dev
<domenkozar[m]> added :)
_ris has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
<Profpatsch> kiwiirc: I’d not touch the main page though, it’s fine as is
<Profpatsch> Otherwise you are unable to grep for services
ris has quit [Ping timeout: 264 seconds]
<Profpatsch> as-in: configuration.nix should contain all options of all services
<kiwiirc> Profpatsch what would be better, to duplicate each section's content in its sub man page, or moving the detailed content into the sub man page but keeping a comprehensive index in the main man page?
<Profpatsch> man configuration.nix takes less than 3 seconds to fully load for me, and the pager makes it usable from the beginning
<Profpatsch> kiwiirc: Not changing anything about the current manpage and duplicate subsections out
<Profpatsch> Literally a copy.
<kiwiirc> i'm not saying the current state is 'bad', just that it's pretty darn big. and if you think about it, there's that idea to make nixops plugin based and the same mentality here might be better
<Profpatsch> I’ve heard people complain that emacs man readers are unable to render it, but then they must be implemented in a very non-optimal way.
<Profpatsch> kiwiirc: what does “big” (according to what measure?) have to do with anything
<kiwiirc> to have nginx in core namespace seems disorganized and unwise engineering (but i'm new and ignorant to nix)
<Profpatsch> I don’t get it
<Profpatsch> Type /nginx, hit enter and keep holding `n` until you are in the nginx section
<Profpatsch> Takes about 3 seconds for me
<Profpatsch> If you want to search for something else, hit `gg` to jump to the top and search for that
_ris has quit [Ping timeout: 260 seconds]
_ris has joined #nixos-dev
<Profpatsch> But for emacs users, splitting out a separate manpage for each section might make sense, as a workaround for slowness
<Profpatsch> cat (man --where configuration.nix) | wc
<qyliss> tazjin was looking into just fixing the Emacs man rendering slowness
<Profpatsch> 177534 367118 3411008
<Profpatsch> Hm, 3.4MB is really not that much data on modern systems
<qyliss> Which would probably be better if possible
<Profpatsch> So the Emacs rendering must be *really* slow :)
<qyliss> Wouldn't surprise me if it's just never really been used with such a huge man page
<Profpatsch> qyliss: does it block until it has rendered the whole thing?
<qyliss> One of the two Emacs man page readers blocks, the other renders asynchronously
<qyliss> (man is async and relativel fast but doesn't do fancy indexing, woman is the opposite)
orivej has joined #nixos-dev
orivej_ has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
ris has joined #nixos-dev
_ris has quit [Ping timeout: 272 seconds]
<tazjin> The problem is that they're redrawing after every change pushed by the man tool
<tazjin> Well, I haven't looked at woman, only man, with the built-in profiler
<tazjin> it's possible to defer redrawing to scroll state changes
orivej_ has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
ris has quit [Ping timeout: 272 seconds]
alp has quit [Ping timeout: 272 seconds]
ris has joined #nixos-dev
evils_ has joined #nixos-dev
evils has quit [Ping timeout: 258 seconds]
ris has quit [Ping timeout: 246 seconds]
ris has joined #nixos-dev
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
alp has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
_ris has joined #nixos-dev
ris has quit [Read error: Connection reset by peer]
<gchristensen> I wish nix-copy-closure would send store paths as fast as possible, and then the remote end can register stuff as its dependecnies become valid
evils_ is now known as evils
<domenkozar[m]> that's exactly how cachix works
<domenkozar[m]> :)
_ris has quit [Read error: Connection reset by peer]
<gchristensen> nice
_ris has joined #nixos-dev
<domenkozar[m]> it will only serve narinfo if full closure exists
<misuzu> would be great if cachix could be self-hosted
<domenkozar[m]> misuzu: I also do offer on-prem
<domenkozar[m]> and paying for cachix makes it possible for me to spend 100% time on Nix :)
<domenkozar[m]> misuzu: why do you need it to be self-hosted? maybe there's another way I can help
<domenkozar[m]> I recently sponsored 1TB for https://nix-community.org/
orivej has quit [Quit: No Ping reply in 180 seconds.]
<misuzu> domenkozar[m]: i'm using nix copy for personal stuff. 39 eur is too much for me unfortunately
<misuzu> that's 3X more than i'm paing for my remote severs + home gigabit internet connection + unlimited 4g :D
orivej has joined #nixos-dev
<domenkozar[m]> misuzu: how much space would you need beyong 10GB you get for free?
<misuzu> domenkozar[m]: not sure yet, but i don't like that it's public
<domenkozar[m]> misuzu: ok, how much would you be willing to pay per month for 20G?
<misuzu> i think $5 for 10G would be reasonable
<misuzu> DO is offering an entire VPS with 25G for $5
<domenkozar[m]> in that case the best I can offer is to help find a better paying job :)
<misuzu> :D
_ris has quit [Ping timeout: 246 seconds]
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
_ris has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-dev
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
ckauhaus has quit [Quit: WeeChat 2.7.1]
teto1 has joined #nixos-dev
<Mic92> misuzu: not quite sure what you usecase is, but for my small compute cluster I just shared every cache with every host: https://github.com/Mic92/doctor-cluster-config/blob/master/modules/nix-serve.nix
<Mic92> That makes a lot more fun when I use those machine as a remote builder
<Mic92> Otherwise my laptop becomes the bottleneck for up/downloading packages.
<gchristensen> domenkozar[m]: I don't use nix-copy-closure or outputs, though
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
<domenkozar[m]> gchristensen: outputs?
<gchristensen> I use it on .drv's
<domenkozar[m]> sure there's people who make 800req/s uploading derivations to cachix :-)
<gchristensen> cool
drakonis_ has quit [Ping timeout: 264 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
drakonis_ has joined #nixos-dev
<ryantm> sphalerite: The latency is like 1 minute to 2 weeks currently :(
<ryantm> Sometimes nixpkgs-update gets stuck doing something and doesn't do any updates for at worst 2 weeks.
<ryantm> If the update needs Repology info, that is also delayed by nixpkgs-channels updating for unstable.
<ryantm> Currently, it won't update a package with Repology info unless the version in Repology matches the version currently on master.
drakonis has quit [Ping timeout: 240 seconds]
<ryantm> This might not be necessary anymore, but it was added because sometimes nixpkgs-update would update a pinned version of package instead of the rolling version.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
drakonis has joined #nixos-dev
cole-h has joined #nixos-dev
<misuzu> Mic92: usecase is simpe - ability to run `sudo nix-collect-garbage -d` and not rebuild everything after + better disk usage
<misuzu> the main downside is the speed (xz is very slow and there is no way to use something else)
<Mic92> misuzu: I think there was something in the pipeline to use libarchive... than zstd might be an option
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
_ris has quit [Ping timeout: 272 seconds]
_ris has joined #nixos-dev
justanotheruser has joined #nixos-dev
_ris has quit [Ping timeout: 246 seconds]
FRidh has quit [Remote host closed the connection]
FRidh has joined #nixos-dev
_ris has joined #nixos-dev
<julm> hi, would someone here know of a better way than fetchurl "file://${whatever}" to load into the Nix store the content of an interpotaled filename, when the content is not representable as a Nix string and thus readFile not usable?
urkk has quit [Ping timeout: 246 seconds]
<cole-h> "${./path/to/file}" will add the file to the store and substitute its path
<cole-h> Is that what you're looking for julm?
<gchristensen> Profpatsch: nice PR
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
<Profpatsch> gchristensen: haha
<gchristensen> huh?
<Profpatsch> (sorry, haha is :))
<gchristensen> oh, cool :)
<gchristensen> thank you for doing it
<Profpatsch> It’s a bit confusing ;)
<Profpatsch> I was surprised I didn’t find more
<Profpatsch> But I only grepped for a few forms
<gchristensen> yeah
<Profpatsch> somebody should throw a neural net at it :)
<Profpatsch> inclusivity linter
<gchristensen> I think `vale` might do that
<gchristensen> I don't know becaues I have never managed to make a working configuration
<gchristensen> yeah
<gchristensen> (caveat I have not tried incredibly hard to get a working config)
<julm> cole-h: not exactly, I want a path in the store and interpolation on the filename, so rather like: toFile "foo" (readFile "path/to/${file}")
<Profpatsch> problem is that most uses of him/his are correct in nixpkgs
<Profpatsch> Because they refer to male contributors or people
<gchristensen> julm: builtins.path: https://nixos.org/nix/manual/#builtin-path
<gchristensen> Profpatsch: cool
<Profpatsch> So you need something “smarter” than a simple linter
<gchristensen> that is impressive
<Profpatsch> like a neural net that learns the difference somehow
<Profpatsch> maybe if somebody has a loooot of time :)
<Profpatsch> And wants to deal with the bigots such a project would attract …
<gchristensen> with docbook anything is possible /s
<gchristensen> <para>Graham submitted <pronoun correct="true">his</pronoun> ...</para>
drakonis_ has joined #nixos-dev
<Profpatsch> lol
<Profpatsch> pronoun-for
<Profpatsch> maintainers-list.nix: { mail = …; name = …; pronoun = … }
<gchristensen> that but unironically
<Profpatsch> anything is possible with structured data
<Profpatsch> <pronoun for="Graham Christensen">
<Profpatsch> form="posessive"
<julm> gchristensen++ thank you! it was just here under my nose but I overlooked it
<{^_^}> gchristensen's karma got increased to 322
FRidh has quit [Ping timeout: 256 seconds]
evanjs has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 272 seconds]
evanjs has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-dev
FRidh has joined #nixos-dev
bennofs_ has joined #nixos-dev
bennofs has quit [Ping timeout: 240 seconds]
ris has joined #nixos-dev
_ris has quit [Ping timeout: 272 seconds]
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
FRidh has quit [Ping timeout: 258 seconds]
FRidh has joined #nixos-dev
ris has quit [Read error: Connection reset by peer]
ris has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
<jtojnar> worldofpeace should we merge https://github.com/NixOS/nixpkgs/pull/73795 and see what breaks?
<{^_^}> #73795 (by worldofpeace, 30 weeks ago, open): fontconfig: 2.12.6 -> 2.13.92
justanotheruser has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos-dev
_ris has joined #nixos-dev
ris has quit [Ping timeout: 246 seconds]
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
teto1 has quit [Ping timeout: 246 seconds]
FRidh has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos-dev
ris has joined #nixos-dev
_ris has quit [Ping timeout: 246 seconds]
FRidh has quit [Client Quit]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
teto1 has joined #nixos-dev
alp has joined #nixos-dev
tokudan[m] has joined #nixos-dev
teto1 has quit [Ping timeout: 272 seconds]
<andi-> If we keep on extending the maintainers list maybe consider just running an LDAP Instance ;)
<gchristensen> I would like to have an ldap instance
teto1 has joined #nixos-dev
tilpner has quit [Ping timeout: 246 seconds]
<gchristensen> for administrative access, including acces to grafana etc.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<worldofpeace> Jan Tojnar: I think so, though the bits with fontconfig configVersion... I still can't remember what that was about
<worldofpeace> i.e dtzWill's comment
orivej has quit [Quit: No Ping reply in 180 seconds.]
teto1 has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-dev
teto1 has joined #nixos-dev
orivej has quit [Quit: No Ping reply in 180 seconds.]
<samueldr> you can't boot a "live" filesystem, but can boot a snapshot of one
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-dev
<jtojnar> worldofpeace: will respond
<jtojnar> then it might get reduced to:
<jtojnar> Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
<jtojnar> and hopefully the warning does not prevent fontconfig from loading
<jtojnar> (compared to the attribute errors https://github.com/NixOS/nixpkgs/pull/73795#issuecomment-634952697)
alp has quit [Ping timeout: 272 seconds]
<abathur> not entirely OT here but I feel like I could use someone with a little more perspective in https://github.com/haskell-nix/hnix/pull/625#issuecomment-648436000
<abathur> I quixotically embroiled myself here just trying to update people who had griped about travis-ci not working and he's a little angry and I don't have much broad/historical perspective and I'm getting a little anxious about digging a hole or burning a bridge trying to engage
<abathur> domenkozar[m]: ^ maybe, but perhaps not exclusively :]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-dev
<abathur> he may also just need to vent, but I suspect I should turtle this one out in any case
drakonis1 has joined #nixos-dev
drakonis_ has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
drakonis1 has quit [Ping timeout: 244 seconds]
ris has quit [Ping timeout: 272 seconds]
drakonis_ has joined #nixos-dev
ris has joined #nixos-dev
__monty__ has quit [Quit: leaving]
<jtojnar> worldofpeace: wanted to do a nice emoji table of fontconfig app/config versions but realized I do not know anything 😼
orivej has quit [Ping timeout: 246 seconds]
<jtojnar> from the warnings, it appears that fontconfig ignores unknown elements (but not unknown attributes) but the parser is so quirky I would not be surprised if this only applied to top-level elements
orivej has joined #nixos-dev
justanotheruser has quit [Ping timeout: 240 seconds]
teto1 has quit [Quit: WeeChat 2.8]
justanotheruser has joined #nixos-dev
ris has quit [Remote host closed the connection]
ris has joined #nixos-dev
kgz has quit [Ping timeout: 260 seconds]
niksnut has quit [Ping timeout: 272 seconds]
niksnut has joined #nixos-dev
kgz has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-dev