!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

962 Members
For people hacking on the Nix package manager itself204 Servers

Load older messages


SenderMessageTime
11 Aug 2021
@derkha:matrix.orgKha Basically github: works great until it doesn't anymore 09:08:29
@derkha:matrix.orgKha
In reply to @Las:matrix.org
The issue is you can't check commit signatures when using the github fetcher
* And also the github fetcher is rate limited (60 requests/h per public IP(!) without GH token) while the git fetcher isn't, right?
09:09:05
@Las:matrix.orgLasThat is very low. With shallow cloning I honestly don't see the need for it anymore.11:09:40
@sternenseemann:systemli.orgsterniwho runs a garbage collect 60 times an hour is the question?13:05:34
@sternenseemann:systemli.orgsterniI don't think there's any conceivable scenario where this is an issue13:05:45
@andi:kack.itandi-It isn't about 60 times an hour. Divide that by the number of sources you might require for your build (and perhaps you are changing some). I usually run into that limit when I update my source pinnings of my infra repo twice in the same hour.13:09:27
@derkha:matrix.orgKhaThen divide that by the number of machines/people behind a single IP, e.g. at an office or university13:13:57
@andi:kack.itandi-Yeah and all of that because GH doesn't deploy IPv6 :)13:14:48
@nixinator:nixos.devnixinatorrate limiting will get worse.13:17:32
@nixinator:nixos.devnixinatornot better.13:17:35
@nixinator:nixos.devnixinator
In reply to @andi:kack.it
Yeah and all of that because GH doesn't deploy IPv6 :)
what has v6 got do with rate limiting?
13:18:14
@andi:kack.itandi-They could either rate limit on per /64 or per unique address on the side of GitHub. Worst case they use a /56 or even a /48 as prefix for common rate limit but best case they'd limit it on a L2 segment and thus allowing multiple customers on e.g. CGNAT do not interfere with each others ratelimits. In german cable networks CGNAT is very dominant and often you run into ratelimits with GitHub as the outbound IPv4 NAT address might be used by many users within the same area.13:20:02
@nixinator:nixos.devnixinatorthat's what i was thinking internally... like 'it can't be a nat state problem'...it is...for my life!13:20:43
@andi:kack.itandi-Anyway that is rather off-topic for this channel (perhaps a good background information on why ratelimits are an issue).13:21:08
@nixinator:nixos.devnixinatoryeah..i agree!! but damm interesting.13:21:26
@andi:kack.itandi-Am I missing something or is the nix daemon leaking Loggers after a connection terminates / a new one is established? https://github.com/NixOS/nix/blob/c000cec27fcb16548606830410be265eb082f777/src/libstore/daemon.cc#L93917:39:01
@andi:kack.itandi-(Probably not very dangerous/important as that happens in a forked client anyway)17:40:48
@cw:kernelpanic.cafecw (just got delta) changed their display name from cw (? days since last shower) to cw (not sticky anymore).17:56:34
@pamplemouss_:matrix.orgpamplemousse

Is there a way to use an alternative store with nix?
I am trying out --store /something --option build-use-substitutes false (option to not pull down from cache.nixos.org), but I am still having build failures.
In particular:

error: builder for '/nix/store/myfzvw3m2fzg7r3xkzr15c0flbc9mxiq-bash-4.4.tar.gz.drv' failed to produce output path for output 'out' at '/out/nix/store/rv68r40mwx7xa7vrlmanczkkjcnkc452-bash-4.4.tar.gz'

seems strange to me, why is the .drv in /nix/store?

18:07:23
@pamplemouss_:matrix.orgpamplemousse (I am trying to nix develop on https://github.com/nixos/nix (i.e. uses flakes) 18:08:12
@pamplemouss_:matrix.orgpamplemousse * (I am trying to nix develop on https://github.com/nixos/nix - i.e. uses flakes) 18:08:24
@Las:matrix.orgLas
に返俑 @pamplemouss_:matrix.org
(I am trying to nix develop on https://github.com/nixos/nix - i.e. uses flakes)
I remember seeing some recent commit about that and nix develop
19:37:08
@Las:matrix.orgLasI recommend you try using the latest commit19:37:20
@pamplemouss_:matrix.orgpamplemousseGot the same error popping πŸ˜•21:07:57
@pamplemouss_:matrix.orgpamplemousse * The same error pops πŸ˜•21:08:31
@pamplemouss_:matrix.orgpamplemousse ( Las , got a reply on #nix:nixos.org 22:28:40
@pamplemouss_:matrix.orgpamplemousse * ( Las , got a reply on #nix:nixos.org, --store cannot be used that way - this used case is likely not even solvable in nix) 22:29:11
12 Aug 2021
@fzakaria:matrix.orgfzakariaWhy has Nix chosen so much base32 ?21:17:37
@nixinator:nixos.devnixinator
In reply to @fzakaria:matrix.org
Why has Nix chosen so much base32 ?
it's that way, because of the limit of posix filepaths... and there's some char's missing, so you can't get stuff like f**ksadirjijeifjifiejwjwfj type hashes! ;-)
21:20:39
@nixinator:nixos.devnixinatorbelieve it or not.21:20:46

Show newer messages


Back to Room ListRoom Version: 6