Skip to content

Commit b2c31e0

Browse files
committed
remote: recursive Bool -> FileIngestionMethod
1 parent fcbcafa commit b2c31e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import System.Nix.Build (BuildMode, BuildResult)
2020
import System.Nix.Derivation (Derivation)
2121
import System.Nix.DerivedPath (DerivedPath)
2222
import System.Nix.Hash (HashAlgo)
23-
import System.Nix.Store.Types (RepairMode)
23+
import System.Nix.Store.Types (FileIngestionMethod, RepairMode)
2424
import System.Nix.StorePath (StorePath, StorePathName, StorePathHashPart)
2525
import System.Nix.StorePath.Metadata (Metadata)
2626
import System.Nix.Store.Remote.Types.CheckMode (CheckMode)
@@ -31,7 +31,7 @@ data StoreRequest :: Type -> Type where
3131
-- | Add @NarSource@ to the store.
3232
AddToStore
3333
:: StorePathName -- ^ Name part of the newly created @StorePath@
34-
-> Bool -- ^ Add target directory recursively
34+
-> FileIngestionMethod -- ^ Add target directory recursively
3535
-> Some HashAlgo -- ^ Nar hashing algorithm
3636
-- -> (forall m . MonadIO m => NarSource m) -- ^ provide nar stream
3737
-- Not part of StoreRequest

0 commit comments

Comments
 (0)