Skip to content

Instantly share code, notes, and snippets.

@Ariakenom
Created October 7, 2019 17:04
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 Ariakenom/a4238e65f2f624e34ff8b152228b1fdd to your computer and use it in GitHub Desktop.
Save Ariakenom/a4238e65f2f624e34ff8b152228b1fdd to your computer and use it in GitHub Desktop.
nix-shell --pure -p ghc cabal-install zlib --run "cabal v2-build"
cabal-version: >=1.10
-- Initial package description 'hello.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: hello
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
license: None
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Patrik Andersson
-- An email address to which users can send suggestions, bug reports, and
-- patches.
-- maintainer:
-- A copyright notice.
-- copyright:
-- category:
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files:
-- CHANGELOG.md
executable hello
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
-- Other library packages from which modules are imported.
build-depends: base
-- build-depends: lens
-- build-depends: integer-logarithms
build-depends: codeworld-api
-- externally depends on coreutils(ar), pkg-config, libpcre, zlib
-- nix-shell -p zlib
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment