Skip to content

Commit

Permalink
fix(website): use the correct path for cabal file revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Jul 11, 2024
1 parent 2d7d9ed commit bf7a5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Foliage/CmdBuild.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bf7a5d7

Please sign in to comment.