fix(website): use the correct path for cabal file revisions

This commit is contained in:
Andrea Bedini 2024-05-30 13:37:59 +08:00 committed by Andrea Bedini
parent 2d7d9ed360
commit bf7a5d72fa

View File

@ -113,7 +113,7 @@ buildAction
-- all revised cabal files, with their timestamp
revcf <- for (zip [1 :: Int ..] cabalFileRevisions) $ \(revNum, (timestamp, path)) -> do
copyFileChanged cabalFilePath (outputDir </> "package" </> prettyShow pkgId </> "revision" </> show revNum <.> "cabal")
copyFileChanged path (outputDir </> "package" </> prettyShow pkgId </> "revision" </> show revNum <.> "cabal")
prepareIndexPkgCabal pkgId timestamp path
-- current version of the cabal file (after the revisions, if any)