Created
February 1, 2023 20:01
-
-
Save exarkun/b38944443d9ea6d1a76d8f522a16696d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chk.hs on packaging-stuff [$✘»!+?] via λ 8.10.7 via ❄️ impure (ghc-shell-for-packages-0) | |
❯ cat cabal.project | |
package * | |
coverage: True | |
library-coverage: True | |
chk.hs on packaging-stuff [$✘»!+?] via λ 8.10.7 via ❄️ impure (ghc-shell-for-packages-0) | |
❯ ls -l tahoe-chk.cabal | |
-rw-r--r-- 1 exarkun users 2918 Feb 1 14:56 tahoe-chk.cabal | |
chk.hs on packaging-stuff [$✘»!+?] via λ 8.10.7 via ❄️ impure (ghc-shell-for-packages-0) | |
❯ cabal build | |
Warning: There are no packages or optional-packages in the project | |
Error: cabal: There is no <pkgname>.cabal package file or cabal.project file. | |
To build packages locally you need at minimum a <pkgname>.cabal file. You can | |
use 'cabal init' to create one. | |
For non-trivial projects you will also want a cabal.project file in the root | |
directory of your project. This file lists the packages in your project and | |
all other build configuration. See the Cabal user guide for full details. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment