Skip to content


absoluteInstallDirs changed signature, breaks darcs Setup #556

bos opened this Issue · 1 comment

1 participant

Haskell member

(Imported from Trac #563, reported by @mornfall on 2009-06-11)

In Cabal 1.7.2 (i.e. recent HEAD), I get:


Couldn't match expected type `Distribution.Package.`PackageId?`'
against inferred type ``PackageDescription?`'

In the first argument of absoluteInstallDirs', namely pkg'
In the first argument of `mandir', namely

`(absoluteInstallDirs pkg lbi copy)'

In the first argument of `(</>)', namely

`mandir (absoluteInstallDirs pkg lbi copy)'

(This works as expected with Cabal 1.6.)

Haskell member

(Imported comment by @dcoutts on 2009-06-11)

Sun Jul  5 16:41:55 BST 2009  Duncan Coutts <>
  * Undo a simplification in the type of absoluteInstallDirs
  Existing Setup scripts use it so we can't change it. Fixes #563.
@bos bos closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.