!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
12 Jan 2026
@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.orgroberththis part is still experimental fwiw18:42:12
@roberthensing:matrix.orgroberth(flakerefs)18:42:58
@roberthensing:matrix.orgroberthor is it, because Eelco poked a NIX_PATH hole?18:43:18
@roberthensing:matrix.orgroberth:(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.orgroberthit 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.orgroberththey'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.orgroberthI've called them sourcerefs occasionally when talking about fetchTree18:45:33
@roberthensing:matrix.orgroberthflakref = 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
@raitobezarius:matrix.orgraitobezariusin many reasonable software, an environment variable serves to seed an initial default18:48:32
@raitobezarius:matrix.orgraitobezariusthere's 3 provenances for the setting system: NIX_CONF, the default settings file locations, -I18:49:07
@raitobezarius:matrix.orgraitobezariusand 1 provenance via env var: NIX_PATH18:49:12

Show newer messages


Back to Room ListRoom Version: 6