-
Notifications
You must be signed in to change notification settings - Fork 722
Closed
Description
Describe the bug
Compiling openapi3-3.2.4 with a "recent" cabal-head
(installed through ghcup as said in the README) gives:
To Reproduce
$ ghcup install cabal --force -u https://github.com/haskell/cabal/releases/download/cabal-head/cabal-head-Linux-x86_64.tar.gz head
$ git clone https://github.com/flora-pm/flora-server
$ cd flora-server
$ cabal build
[…] # pour yourself a cup
Installing library in /home/tchoutri/.cabal/store/
ghc-9.4.7/incoming/new-3485596/home/tchoutri/.cabal/
store/ghc-9.4.7/openapi3-3.2.4-10ab5f1c59bbb45dbd67f02e0bbc49fff86fce693481f1e870150b3d6fa049d1/lib
Installing executable example in /home/tchoutri/.cabal/
store/ghc-9.4.7/incoming/new-3485596/home/tchoutri/.cabal/store/ghc-9.4.7
/openapi3-3.2.4-10ab5f1c59bbb45dbd67f02e0bbc49fff86fce693481f1e870150b3d6fa049d1/bin
Warning: The directory
/home/tchoutri/.cabal/store/ghc-9.4.7/incoming/new-3485596/home/tchoutri/
.cabal/store/ghc-9.4.7/openapi3-3.2.4-10ab5f1c59bbb45dbd67f02e0bbc49fff86fce693481f1e870150b3d6fa049d1/bin
is not in the system search path.
dist/build/example/example: copyFile: does not exist (No such file or directory)
Error: [Cabal-7125]
Failed to build openapi3-3.2.4 (which is required by test:flora-test from flora-1.0.14, exe:flora-server from flora-1.0.14 and others).
See the build log above for details.
Expected behavior
Not throw an error.
System information
- Operating system: Fedora 38
cabal
: cabal-headghc
: 9.4.7
Additional context
I got my hands on a cabal-head
from December 10th, that works well: cabal-head-dec-10.tar.gz.
Not too sure what to do with this information. :/