Delete compatibility for daemons older than 2.3 #325
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#325
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is beyond any reasonable compatibility window (5 years), and if you want to build against a very old nix daemon, simply get an older nix client.
Nix 2.3 is version 21. Any versions strictly less than 21 can be dropped with reckless abandon, and we can fail at the start of the connection.
https://github.com/NixOS/nix/blob/2.3/src/libstore/worker-protocol.hh#L9
we'd actually like to drop 2.3 too. and there's more to it than building against an old daemon, we also won't be able to build against a new daemon with an old client any more (both of which should be non-issues with how old nix 2.3 already is, and iwrc nixpkgs doesn't even fully work with 2.3 any more? at least we remember @puck saying something to that effect)
cf https://gerrit.lix.systems/c/lix/+/1162; interop between <=2.0 and >=2.17 is just broken
This issue was mentioned on Gerrit on the following CLs:
Another thing we can delete is
HasSubstitutes
, since it is not used by anything except compatibility code for ancient versions of Nix that didn't have a list-based querySubstitutablePaths. Found when looking at #394Follow-up CL deleting even more such code: https://gerrit.lix.systems/c/lix/+/1479