Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created February 1, 2023 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exarkun/b38944443d9ea6d1a76d8f522a16696d to your computer and use it in GitHub Desktop.
Save exarkun/b38944443d9ea6d1a76d8f522a16696d to your computer and use it in GitHub Desktop.
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