Skip to content

Commit 5aa62fd

Browse files
committed
remote: NarSource not in GADT pans out
1 parent a5dac6d commit 5aa62fd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hnix-store-remote/src/System/Nix/Store/Remote/Types/StoreRequest.hs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ data StoreRequest :: Type -> Type where
3636
:: StorePathName -- ^ Name part of the newly created @StorePath@
3737
-> FileIngestionMethod -- ^ Add target directory recursively
3838
-> Some HashAlgo -- ^ Nar hashing algorithm
39-
-- -> (forall m . MonadIO m => NarSource m) -- ^ provide nar stream
40-
-- Not part of StoreRequest
41-
-- as it would require StoreRequest (m :: Type -> Type) :: Type -> Type
42-
-- for which we cannot derive anything
43-
--
44-
-- Also the thing is the only special case
45-
-- and it is always sent *after* the other
46-
-- information so it can be handled
47-
-- separately after that. Hopefully.
4839
-> RepairMode -- ^ Only used by local store backend
4940
-> StoreRequest StorePath
5041

0 commit comments

Comments
 (0)