Cannot install with `cabal new-install` #200

Closed
opened 2018-11-14 23:12:53 +01:00 by kozross · 1 comment
kozross commented 2018-11-14 23:12:53 +01:00 (Migrated from github.com)

I used cabal new-install brittany, which built and symlinked successfully. However, upon inspection, the symlink installed in .cabal/bin is broken. Specifically:

[koz@Sebastian ~]$ ls -l .cabal/bin/brittany 
lrwxrwxrwx 1 koz koz 114 Nov 15 11:07 .cabal/bin/brittany -> ../store/ghc-8.4.4/brittany-0.11.0.0-0a8c9349d1542d5ec4d9fa7e04ddc306a0d0258588195a4c6ed6da16fb792f41/bin/brittany
[koz@Sebastian ~]$ ls -l .cabal/store/ghc-8.4.4/brittany-0.11.0.0-76e40c3851b5f7f9fc85c22c6053d9db9be484aae20dc07bcef0955f0b6ac8df/
total 12
-rw-r--r-- 1 koz koz 2024 Nov 14 21:24 cabal-hash.txt
drwxr-xr-x 4 koz koz 4096 Nov 14 21:24 lib
drwxr-xr-x 3 koz koz 4096 Nov 14 21:24 share
I used ``cabal new-install brittany``, which built and symlinked successfully. However, upon inspection, the symlink installed in ``.cabal/bin`` is broken. Specifically: ``` [koz@Sebastian ~]$ ls -l .cabal/bin/brittany lrwxrwxrwx 1 koz koz 114 Nov 15 11:07 .cabal/bin/brittany -> ../store/ghc-8.4.4/brittany-0.11.0.0-0a8c9349d1542d5ec4d9fa7e04ddc306a0d0258588195a4c6ed6da16fb792f41/bin/brittany [koz@Sebastian ~]$ ls -l .cabal/store/ghc-8.4.4/brittany-0.11.0.0-76e40c3851b5f7f9fc85c22c6053d9db9be484aae20dc07bcef0955f0b6ac8df/ total 12 -rw-r--r-- 1 koz koz 2024 Nov 14 21:24 cabal-hash.txt drwxr-xr-x 4 koz koz 4096 Nov 14 21:24 lib drwxr-xr-x 3 koz koz 4096 Nov 14 21:24 share ```
lspitzner commented 2018-11-30 00:30:10 +01:00 (Migrated from github.com)

Duplicate of #162. See there.

Duplicate of #162. See there.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#200
There is no content yet.