Hamish Mackenzie
94f4679618
Add setup-depends to shellFor ( #259 )
...
* Add failing test for shellFor with setup-depends
* Add setup-depends to shellFor
2019-10-13 20:01:25 +08:00
Rodney Lorrimar
b47a6bb1a2
shellFor: Use CABAL_CONFIG only with exactDeps = true ( #255 )
...
* shellFor: Use CABAL_CONFIG only with exactDeps = true
* shells: Put write-ghc-environment-files: never in cabal.config
2019-10-13 19:43:17 +08:00
Hamish Mackenzie
fdcb2da2a8
Add default for shellFor packages ( #242 )
...
Uses the `isLocal` for property set by `plan-to-nix` and `stack-to-nix`
on packages where the source is referenced in the `cabal.project`
or `stack.yaml` file.
2019-10-01 11:10:11 +13:00
Rodney Lorrimar
f81a37eda4
Make sure hoogle is available in ghcWithHoogle ( #196 )
2019-07-16 10:17:49 +10:00
Rodney Lorrimar
0663a9cd03
Add ghcWithPackages and ghcWithHoogle to hsPkgs ( #150 )
...
* Add ghcWithPackages and ghcWithHoogle to hsPkgs
* tests: Add ghcWithHoogle test
* Update changelog
2019-06-21 22:40:08 +10:00
Rodney Lorrimar
c6038d4860
shellFor: Update don't overwrite passthru ( #180 )
2019-06-15 08:24:17 +02:00
Jean-Baptiste Giraudeau
3fb220334f
Fix name of shellFor derivation for a single package. ( #155 )
2019-05-30 22:46:39 +02:00
Rodney Lorrimar
c69cf9ed60
shellFor: Add the hoogle index
2019-05-28 10:53:05 +10:00
Rodney Lorrimar
bbd0133281
shellFor: Provide correct dependencies
...
Now the shell provides the dependencies of the given Haskell packages,
and not the packages themselves.
System libraries and Haskell executables are added to the shell.
2019-05-28 09:34:38 +10:00
Rodney Lorrimar
49eb3279e4
shellFor: provide CABAL_CONFIG in shell
2019-05-28 09:34:38 +10:00
Rodney Lorrimar
4ecc0aa041
Add config.hsPkgs.shellFor function
...
I needed to rearrange a few things to write this function.
2019-05-28 09:34:38 +10:00