mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-06-15 10:52:32 +02:00
Use snapshot instead of resolver
This commit is contained in:
parent
cf71b274a3
commit
67ad9faee5
@ -424,7 +424,7 @@ addPantryPackage snapId compiler isHidden flags (PantryPackage pcabal pTreeKey)
|
||||
|
||||
|
||||
|
||||
-- | Download a list of available .html files from S3 bucket for a particular resolver and record
|
||||
-- | Download a list of available .html files from S3 bucket for a particular snapshot and record
|
||||
-- in the database which modules have documentation available for them.
|
||||
checkForDocs :: SnapshotId -> SnapName -> ResourceT (RIO StackageCron) ()
|
||||
checkForDocs snapshotId snapName = do
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# As this is built on NixOS stable, it has to stay on a GHC that exists on the
|
||||
# OS.
|
||||
# I.e. changes here need to be synced with changes to flake.nix and package.nix.
|
||||
resolver: lts-24.26
|
||||
snapshot: lts-24.26
|
||||
extra-deps:
|
||||
# WARNING: Changing the hoogle version causes stackage-server-cron to regenerate
|
||||
# Hoogle databases FOR EVERY SNAPSHOT, EVER. Usually, that's ok! But don't
|
||||
|
||||
@ -8,7 +8,7 @@ $newline never
|
||||
<span>
|
||||
<a href=@{StackageDiffR previousSnapName name}>View changes
|
||||
|
||||
<p .stack-resolver-yaml><a href="https://docs.haskellstack.org/en/stable/GUIDE/#resolvers-and-changing-your-compiler-version">resolver</a>: #{toPathPiece name}
|
||||
<p .stack-snapshot-yaml><a href="https://docs.haskellstack.org/en/stable/tutorial/building_your_project/#snapshots-and-ghc-versions">snapshot</a>: #{toPathPiece name}
|
||||
|
||||
^{hoogleForm}
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ p + ul {
|
||||
.keyword { color: #366354 }
|
||||
.url { color: #06537d }
|
||||
|
||||
.stack-resolver-yaml {
|
||||
.stack-snapshot-yaml {
|
||||
font-size: 1.3em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user