!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

902 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
12 Jan 2026
@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
@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
@isabel:isabelroses.comisabel changed their profile picture.18:59:01
@Ericson2314:matrix.orgJohn Ericsonsnix should just not implement NIX_PATH I think19:55:37
@Ericson2314:matrix.orgJohn Ericsonat least not like it currently exists19:55:41
@Ericson2314:matrix.orgJohn EricsonI do not wish that pain upon you all! :)19:56:09
@flokli:matrix.orgflokliWe don't have the luxury, at least the common / sensible usages should work19:56:17
@Ericson2314:matrix.orgJohn EricsonI thought snix was deprioritzing the evaluator as a whole?19:56:38
@flokli:matrix.orgflokliWho said that? 😄19:57:22
@Ericson2314:matrix.orgJohn Ericson a conservative NIX_PATH implementation would split on :, and require every entry to start with a / 19:57:50
@Ericson2314:matrix.orgJohn Ericsonjust don't support URLs at all19:58:05
@Ericson2314:matrix.orgJohn Ericsonand don't accidentally treat a URL as two valid relative paths19:58:27
@Ericson2314:matrix.orgJohn Ericson* and don't accidentally treat a URL as two valid relative path entries19:58:31
@Ericson2314:matrix.orgJohn Ericson (no foobar://x becomes foobar and ///x) 19:59:12
@Ericson2314:matrix.orgJohn Ericson * (no foobar://x becomes foobar and //x) 19:59:20

Show newer messages


Back to Room ListRoom Version: 6