File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
hnix-store-remote/src/System/Nix/Store/Remote/Types Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ module System.Nix.Store.Remote.Types.StoreReply
22 ( StoreReply (.. )
33 ) where
44
5+ import Data.HashSet (HashSet )
56import System.Nix.Build (BuildResult )
6- import System.Nix.StorePath (HasStoreDir (.. ), StorePath )
7+ import System.Nix.StorePath (HasStoreDir (.. ), StorePath , StorePathName )
78import System.Nix.StorePath.Metadata (Metadata )
89import System.Nix.Store.Remote.Serializer
910import System.Nix.Store.Remote.Types.GC (GCResult )
@@ -43,6 +44,12 @@ instance StoreReply (Maybe (Metadata StorePath)) where
4344instance StoreReply StorePath where
4445 getReplyS = mapPrimE storePath
4546
47+ instance StoreReply (HashSet StorePath ) where
48+ getReplyS = mapPrimE (hashSet storePath)
49+
50+ instance StoreReply (HashSet StorePathName ) where
51+ getReplyS = mapPrimE (hashSet storePathName)
52+
4653mapPrimE
4754 :: NixSerializer r SError a
4855 -> NixSerializer r ReplySError a
You can’t perform that action at this time.
0 commit comments