!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

866 Members
167 Servers

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


SenderMessageTime
30 Jan 2025
@a3don:matrix.orga3dongot it, thanks!15:56:27
31 Jan 2025
@vhdirk:matrix.orgDirk Van Haerenborgh changed their display name from Dirk Van Haerenborgh to Dirk Van Haerenborgh @ FOSDEM.13:48:01
1 Feb 2025
@ohchase:envs.netohchase joined the room.16:14:00
@togareth:matrix.orgtogareth joined the room.16:15:09
@myhlamaeus:matrix.orgmyhlamaeus joined the room.18:32:04
2 Feb 2025
@llakala:matrix.orgllakala

Is anyone well-versed enough in Flakes internals to know how Nix turns a flakeref string (i.e. "github:nixos/nixpkgs") into a URL? Or, if it doesn't do that, how it works with the input without having an intermediary URL stage?

I have a project where I take the flake.lock data and reconstruct the input data into a URL, so I can use git ls-remote and see if the input has changed at all (so I can see which inputs would be updated, without waiting the 15-30 seconds for nix flake update to run). However, I've run into less easy input types to work with, and it's made me question whether I'm reinventing the wheel here.

03:27:22

Show newer messages


Back to Room ListRoom Version: 6