-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New functions for pkgs.haskell.lib #225945
Comments
People have argued in the past that Having some sort of wrapper around |
What I didn't like in |
That's why I suggested
If I remember correctly, the internals of
I'm not sure what |
Indeed, it is possible to pass all |
Project description
I'd like to propose a couple of functions that should simplify the setup of Haskell projects.
I'm not aware if they're already available anywhere.
getHaskellPackagesDeps - provides a list of all packages from getCabalDeps of packages p1,p2,...pN minus packages p1, p2, ..., pN. This allows for developing local packages with other local packages as dependencies. Only non-local packages will be collected.
ghcForPackages - uses the previous function to construct a ghc with packages. It's a ghc with dependencies for local packages provided via an override of
haskell.packages
.It may be useful to provide a wrapper for
cabal
that puts the ghc with packages onPATH
ofcabal
. That's a way to avoid conflicts between ghc versions in a devshell like haskell-language-server provides its own GHC in a devshell #225895The text was updated successfully, but these errors were encountered: