haskell / haskell/cabal

installing internal library with Cabal and "cabal install" gives different id's

Open
#5,345 6 comments 0 reactions 0 assignees View on GitHub
Cabal: cmd/build Cabal: cmd/configure Cabal: stanza/library
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I tried to install haddock-library with Cabal-2.2.0.1 and got:
```
haddock-library-1.5.0.1-919WkNWGnku6Kvc4vlhbv1-attoparsec.conf
haddock-library-1.5.0.1-DfHt27RGS18LxLALgHOunK.conf
```
This behaviour is pretty bad for distro packaging. :-(

When I install with cabal-install-2.2.0.0, I got:
```
haddock-library-1.5.0.1-1JAUuIjfe1t2Y9APYsRkwa-attoparsec.conf
haddock-library-1.5.0.1-1JAUuIjfe1t2Y9APYsRkwa.conf
```

cc (opensuse guys) @peti @mimi1vx

(And sorry I feel compelled to moan: I think internal sublibraries are a really bad idea.)

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.