!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

912 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
12 Jan 2026
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)What also worries be a bit in terms of snix compat is snix is using the url crate which is the whatwg one and libcurl nowadays implements rfc one 18:40:03
@kranzes:matrix.orgIlan Joselevich (Kranzes)depending on Nix versions and Lix versions18:40:07
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)But actually we are not using the strict curl API so anything goes...18:40:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)But flakes are kinda 3986 but not really...18:41:06
@kranzes:matrix.orgIlan Joselevich (Kranzes)tfw implementing correctly = backwards incompatible with nix18:41:32
@raitobezarius:matrix.orgraitobezariusno18:41:39
@raitobezarius:matrix.orgraitobezariusschemes should be generalized and pluggable18:41:51
@roberthensing:matrix.orgRobert Hensing (roberth)this part is still experimental fwiw18:42:12
@roberthensing:matrix.orgRobert Hensing (roberth)(flakerefs)18:42:58
@roberthensing:matrix.orgRobert Hensing (roberth)or is it, because Eelco poked a NIX_PATH hole?18:43:18
@roberthensing:matrix.orgRobert Hensing (roberth):(18:43:22
@raitobezarius:matrix.orgraitobezariuswell, if you put a flakeref in a NIX_PATH, it doesn't require an xp feature18:43:31
@raitobezarius:matrix.orgraitobezariusbut at the boundary, an xp feature will be required18:43:35
@roberthensing:matrix.orgRobert Hensing (roberth)it damn well should have...18:43:47
@raitobezarius:matrix.orgraitobezariusit doesn't matter much in the end18:44:06
@raitobezarius:matrix.orgraitobezariusflakerefs are theoretically experimental18:44:18
@raitobezarius:matrix.orgraitobezariusin practice, breaking backward compat of it is not a good idea18:44:31
@roberthensing:matrix.orgRobert Hensing (roberth)they're already part of the sediment record18:44:40
@raitobezarius:matrix.orgraitobezariusflakerefs as a term should die18:44:46
@raitobezarius:matrix.orgraitobezariusand we should all pretend they are actually URLs18:44:52
@raitobezarius:matrix.orgraitobezariusthere, they're not about flakes anymore18:45:00
@roberthensing:matrix.orgRobert Hensing (roberth)I've called them sourcerefs occasionally when talking about fetchTree18:45:33
@roberthensing:matrix.orgRobert Hensing (roberth)flakref = sourceref + ?dir18:45:49
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

And also git's URL (but I think nowadays nix doesn't actually support some of these cuz fetchTree) is a huge mess too. Just ran into:

GIT_TRACE=1 git clone "xokdvium@[localhost]hahahahahahhahaha:/~/work/code/nix"
18:46:09
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Any bets if this works or not?18:46:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) *

And also git's URL (scp-like paths they call these) (but I think nowadays nix doesn't actually support some of these cuz fetchTree) is a huge mess too. Just ran into:

GIT_TRACE=1 git clone "xokdvium@[localhost]hahahahahahhahaha:/~/work/code/nix"
18:47:04
@kranzes:matrix.orgIlan Joselevich (Kranzes)is -I supposed to behave differently of NIX_PATH?18:47:21
@raitobezarius:matrix.orgraitobezariusyes18:47:26
@raitobezarius:matrix.orgraitobezariusbecause -I uses the setting system18:47:46
@kranzes:matrix.orgIlan Joselevich (Kranzes)Is this documented somewhere? what is the intended behavior?18:47:59

Show newer messages


Back to Room ListRoom Version: 6