License | BSD-3-Clause |
---|---|
Safe Haskell | None |
Language | GHC2021 |
Stack.Lock
Description
Synopsis
- lockCachedWanted :: (HasPantryConfig env, HasRunner env) => Path Abs File -> RawSnapshotLocation -> (Map RawPackageLocationImmutable PackageLocationImmutable -> WantedCompiler -> Map PackageName (Bool -> RIO env DepPackage) -> RIO env (SMWanted, [CompletedPLI])) -> RIO env SMWanted
- data LockedLocation a b = LockedLocation {}
- data Locked = Locked {}
Documentation
Arguments
:: (HasPantryConfig env, HasRunner env) | |
=> Path Abs File | The relevant Stack project-level configuration file. |
-> RawSnapshotLocation | The relevant snapshot. |
-> (Map RawPackageLocationImmutable PackageLocationImmutable -> WantedCompiler -> Map PackageName (Bool -> RIO env DepPackage) -> RIO env (SMWanted, [CompletedPLI])) | |
-> RIO env SMWanted |
Yields a SMWanted
taking into account the relevant
lock file, if one is applicable and it exists.
data LockedLocation a b Source #
Type representing locked locations.
Constructors
LockedLocation | |
Instances
Type representing the contents of lock files.
Constructors
Locked | |
Instances
ToJSON Locked Source # | |
Defined in Stack.Lock Methods toEncoding :: Locked -> Encoding toJSONList :: [Locked] -> Value toEncodingList :: [Locked] -> Encoding | |
Show Locked Source # | |
Eq Locked Source # | |
FromJSON (WithJSONWarnings (Unresolved Locked)) Source # | |
Defined in Stack.Lock Methods parseJSON :: Value -> Parser (WithJSONWarnings (Unresolved Locked)) parseJSONList :: Value -> Parser [WithJSONWarnings (Unresolved Locked)] omittedField :: Maybe (WithJSONWarnings (Unresolved Locked)) |