haskell / haskell/cabal

Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build'

Open
#601 3 comments 0 reactions 0 assignees View on GitHub
cabal-install: other old-milestone: ⊥ type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(Imported from [Trac #608](http://hackage.haskell.org/trac/hackage/ticket/608), reported by guest on 2009-11-15)

Files that are only used by cabal setup are not recompiled when they change between runs of 'cabal build'.

Reproduction steps for the included cabal package:

  • Run 'cabal configure && cabal build && cabal test'
  • The test output should be "I helped with lots of stuff!"
  • Change the string in Distribution/Helper.hs to "I didn't help with "
  • Rerun 'cabal configure && cabal build && cabal test' -- the output should change to "I didn't help with lots of stuff!", but nothing recompiles and the output doesn't change.
Although the attached cabal package is minimal, I've observed this behavior with darcs's Distribution/ShellHarness.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.