haskell / haskell/cabal

Manage a global package environment for easy GHCi access

Open
#3,737 24 comments 0 reactions 0 assignees View on GitHub
cabal-install: environment-files type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

See https://www.reddit.com/r/haskell/comments/507h0p/cabal_newbuild_is_a_package_manager/d72bzce?context=3

I think, essentially, the request is for `cabal new-install` to put the requested package into some global packages set, which we keep up-to-date upon invocations to `new-install`. Maybe we should even write the package environment in the place GHC looks by default, so a bare `ghci` invocation works.

@hvr thought `extra-packages` might be what you want (if it were implemented) but I'm not sure; I think it would cause any such mentioned packages to be considered local, and thus built inplace. But maybe that's a misinterpretation.

CC @cocreature

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.