!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

872 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.182 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Oct 2025
@joerg:thalheim.ioMic92
In reply to @manveru:matrix.org
But does this prevent crashes because of locally cached narinfos that point to removed NARs?
I think missing nars for a given narinfo should only produce a warning? At least my experience from with harmonia. Broken references however might be a problem. However niks3 shouldn't let this happen.
15:18:00
@joerg:thalheim.ioMic92If you don't have gc the second best thing is rotating s3 buckets and have a cdn/load-balancer checking both15:19:19
@manveru:matrix.orgmanveru i'm not 100% certain anymore, but afaict if the NAR goes missing within the narinfo-cache-positive-ttl while there's an entry in the e.g. ~/.cache/nix/binary-cache-v7.sqlite Nix may take it personally 15:26:50
@manveru:matrix.orgmanverubut it's possible that's only true for references15:27:47
@Ericson2314:matrix.orgJohn Ericson Robert Hensing (roberth): do you know a command to convert yaml to json? 15:35:34
@Ericson2314:matrix.orgJohn Ericsonkinda want the JSON schema to be yaml 15:35:39
@Ericson2314:matrix.orgJohn Ericsonfor nicer git diffs15:35:42
@roberthensing:matrix.orgRobert Hensing (roberth) yq I guess? You can call me a freak, but I'm a happy JSON editor 15:39:54
@roberthensing:matrix.orgRobert Hensing (roberth) * John Ericson: yq I guess? You can call me a freak, but I'm a happy JSON editor 15:40:19
@roberthensing:matrix.orgRobert Hensing (roberth)

oof

$ nix-store -qR $(nix-instantiate -A nix) | cut -c 45- | grep -iE 'yq|yaml'
YAML-Tiny-1.74.tar.gz.drv
perl5.40.0-YAML-Tiny-1.74.drv
15:43:23
@Ericson2314:matrix.orgJohn Ericsonhaha ok that's a funny way to find it15:46:10

Show newer messages


Back to Room ListRoom Version: 6