From 5e909dbbd5abc14444a6136695fc42ab7dcbce03 Mon Sep 17 00:00:00 2001 From: sorki Date: Sat, 9 Dec 2023 07:27:18 +0100 Subject: [PATCH] remote: fix verison/version typo --- hnix-store-remote/src/System/Nix/Store/Remote/Client/Core.hs | 2 +- .../src/System/Nix/Store/Remote/Types/Handshake.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hnix-store-remote/src/System/Nix/Store/Remote/Client/Core.hs b/hnix-store-remote/src/System/Nix/Store/Remote/Client/Core.hs index 8837c06..f313841 100644 --- a/hnix-store-remote/src/System/Nix/Store/Remote/Client/Core.hs +++ b/hnix-store-remote/src/System/Nix/Store/Remote/Client/Core.hs @@ -169,6 +169,6 @@ runStoreSocket preStoreConfig code = pure ClientHandshakeOutput { clientHandshakeOutputNixVersion = daemonNixVersion , clientHandshakeOutputTrust = remoteTrustsUs - , clientHandshakeOutputLeastCommonVerison = leastCommonVersion + , clientHandshakeOutputLeastCommonVersion = leastCommonVersion , clientHandshakeOutputServerVersion = daemonVersion } diff --git a/hnix-store-remote/src/System/Nix/Store/Remote/Types/Handshake.hs b/hnix-store-remote/src/System/Nix/Store/Remote/Types/Handshake.hs index 3f3fa90..b8ef2e3 100644 --- a/hnix-store-remote/src/System/Nix/Store/Remote/Types/Handshake.hs +++ b/hnix-store-remote/src/System/Nix/Store/Remote/Types/Handshake.hs @@ -19,7 +19,7 @@ data ClientHandshakeInput = ClientHandshakeInput data ClientHandshakeOutput = ClientHandshakeOutput { clientHandshakeOutputNixVersion :: Maybe Text -- ^ Textual version, since 1.33 , clientHandshakeOutputTrust :: Maybe TrustedFlag -- ^ Whether remote side trusts us - , clientHandshakeOutputLeastCommonVerison :: ProtoVersion -- ^ Minimum protocol version supported by both sides + , clientHandshakeOutputLeastCommonVersion :: ProtoVersion -- ^ Minimum protocol version supported by both sides , clientHandshakeOutputServerVersion :: ProtoVersion -- ^ Protocol version supported by the server } deriving (Eq, Generic, Ord, Show)