@@ -17,7 +17,7 @@ import System.Nix.Store.Remote.Arbitrary ()
1717import System.Nix.Store.Remote.Serializer
1818import System.Nix.Store.Remote.Types.Logger (Logger (.. ))
1919import System.Nix.Store.Remote.Types.ProtoVersion (HasProtoVersion (.. ), ProtoVersion (.. ))
20- import System.Nix.Store.Remote.Types.StoreConfig (TestStoreConfig (.. ))
20+ import System.Nix.Store.Remote.Types.StoreConfig (ProtoStoreConfig (.. ))
2121import System.Nix.Store.Remote.Types.StoreRequest (StoreRequest (.. ))
2222
2323-- | Test for roundtrip using @NixSerializer@
@@ -71,7 +71,7 @@ spec = parallel $ do
7171 prop " < 1.28"
7272 $ \ sd -> forAll (arbitrary `suchThat` ((< 28 ) . protoVersion_minor))
7373 $ \ pv ->
74- roundtripSReader @ TestStoreConfig buildResult (TestStoreConfig sd pv)
74+ roundtripSReader @ ProtoStoreConfig buildResult (ProtoStoreConfig sd pv)
7575 . (\ x -> x { buildResultBuiltOutputs = Nothing })
7676 . (\ x -> x { buildResultTimesBuilt = Nothing
7777 , buildResultIsNonDeterministic = Nothing
@@ -81,7 +81,7 @@ spec = parallel $ do
8181 )
8282 prop " = 1.28"
8383 $ \ sd ->
84- roundtripSReader @ TestStoreConfig buildResult (TestStoreConfig sd (ProtoVersion 1 28 ))
84+ roundtripSReader @ ProtoStoreConfig buildResult (ProtoStoreConfig sd (ProtoVersion 1 28 ))
8585 . (\ x -> x { buildResultTimesBuilt = Nothing
8686 , buildResultIsNonDeterministic = Nothing
8787 , buildResultStartTime = Nothing
@@ -91,7 +91,7 @@ spec = parallel $ do
9191 prop " > 1.28"
9292 $ \ sd -> forAll (arbitrary `suchThat` ((> 28 ) . protoVersion_minor))
9393 $ \ pv ->
94- roundtripSReader @ TestStoreConfig buildResult (TestStoreConfig sd pv)
94+ roundtripSReader @ ProtoStoreConfig buildResult (ProtoStoreConfig sd pv)
9595
9696 prop " StorePath" $
9797 roundtripSReader @ StoreDir storePath
@@ -147,7 +147,7 @@ spec = parallel $ do
147147 prop " StoreRequest"
148148 $ \ testStoreConfig ->
149149 forAll (arbitrary `suchThat` (restrictProtoVersion (hasProtoVersion testStoreConfig)))
150- $ roundtripSReader @ TestStoreConfig storeRequest testStoreConfig
150+ $ roundtripSReader @ ProtoStoreConfig storeRequest testStoreConfig
151151
152152 describe " StoreReply" $ do
153153 prop " ()" $ roundtripS opSuccess
0 commit comments