Skip to content

Commit bf7a5d7

Browse files
committed
fix(website): use the correct path for cabal file revisions
1 parent 2d7d9ed commit bf7a5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Foliage/CmdBuild.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ buildAction
113113

114114
-- all revised cabal files, with their timestamp
115115
revcf <- for (zip [1 :: Int ..] cabalFileRevisions) $ \(revNum, (timestamp, path)) -> do
116-
copyFileChanged cabalFilePath (outputDir </> "package" </> prettyShow pkgId </> "revision" </> show revNum <.> "cabal")
116+
copyFileChanged path (outputDir </> "package" </> prettyShow pkgId </> "revision" </> show revNum <.> "cabal")
117117
prepareIndexPkgCabal pkgId timestamp path
118118

119119
-- current version of the cabal file (after the revisions, if any)

0 commit comments

Comments
 (0)