diff options
author | Vova Kryachko <v.kryachko@gmail.com> | 2024-11-02T17·15+0000 |
---|---|---|
committer | Vladimir Kryachko <v.kryachko@gmail.com> | 2024-11-02T18·08+0000 |
commit | aecf0641a4917994e58e0fe7a9cfecb596f0c4f6 (patch) | |
tree | 7ab43587958b818bb8bc1276831818bc6d112579 /tests/hash-check.nix | |
parent | 4ec9a4b7dfb7a22fca39715e20f4973d299fd7fa (diff) |
fix(tvix/nix_compat): Fix nix-daemon handshake r/8880
Existing handshake behavior assumed that the server version is always at least as new as the client. Meaning that the client's version was always picked the handshake details as well as for further communication This change removes that assumption and correctly uses min(server_version, client_version). Change-Id: Ia5dad4613dd5f69a0aeb6c9d86982f1f36fe1a4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/12722 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tests/hash-check.nix')
0 files changed, 0 insertions, 0 deletions