Safe Haskell | None |
---|---|
Language | Haskell2010 |
Resolving a Lockfile
and generating all necessary data (e.g. hashes), so that it can be converted to a nix expression. Might need IO & network access to succeed.
- resolveLockfileStatus :: Chan Remote -> Lockfile -> IO (Either (NonEmpty Text) ResolvedLockfile)
- data Resolved a = Resolved {}
- type ResolvedLockfile = MKMap PackageKey (Resolved Package)
Documentation
resolveLockfileStatus :: Chan Remote -> Lockfile -> IO (Either (NonEmpty Text) ResolvedLockfile) Source #
Resolve all packages by downloading their sources if necessary.
A thing whose hash is already known (“resolved”).
Only packages with known hashes are truly “locked”.
type ResolvedLockfile = MKMap PackageKey (Resolved Package) Source #
In order to write a nix file, all packages need to know their shasums first.