!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

877 Members
180 Servers

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


SenderMessageTime
9 Mar 2025
@emilazy:matrix.orgemilyis your proposal to remove the experimental flag but be willing to make breaking changes, or to have eternal backwards compatibility layers for old versions?14:51:16
@elikoga:matrix.orgelikogaPragmatically, whenever appropriate both. There should be a v1 and if we are so inclined a v2 in 10 years or less.14:53:23
@elikoga:matrix.orgelikogaBut if you want to add to add the attribute "lastModified" to tarball inputs then it's a breaking change for some and you should add backwards compatibility since It's not deserving of being a format-bump Just as has already happened in github:nixos/nix as far as I can see14:54:57
@emilazy:matrix.orgemilyok. I think you underestimate the burden and headaches of supporting e.g. the exact current weird/busted fetchTree semantics for all of eternity (indeed there have been recent bugs where the fixes would have been considered potentially unacceptable compatibility breaks for stable Nix already iirc). flakes are not nearly as simple under the hood as they appear on the surface14:55:50
@elikoga:matrix.orgelikogaLinks would be lovely14:56:30
@emilazy:matrix.orgemilyI don't think it's a conspiracy that almost everyone who works on a Nix-derived codebase thinks that stabilizing flakes is a very complicated process14:56:35
@emilazy:matrix.orgemilyand I do use flakes. but anyway, you can consider me an agitator deliberately misrepresenting the technical state if you wish14:57:03
@emilazy:matrix.orgemilyhttps://github.com/nix-community/fetchTree-spec didn't get off the ground yet but involved people from three separate Nix implementations and there's some documentation of very weird behaviour in the issue tracker. most of this stuff is just scattered across a dozen issue reports and PRs though.14:59:58
@emilazy:matrix.orgemilyalso roberth already gave a good example:15:00:17

Show newer messages


Back to Room ListRoom Version: 6