Commit Graph

2 Commits

Author SHA1 Message Date
Moritz Angermann 39e77c4889 Fix tests (#133)
With the nixpkgs bump (#131) there is no ghc-8.6.3 anymore.
2019-05-18 17:42:23 +08:00
Edward Amsden 390771849a Add callStackToNix function (#116)
Allow building a stack project directly without needing to generate the scaffolding.

```nix
{ mkStackPkgSet, callStackToNix, ... }:
let
  pkgSet = mkStackPkgSet {
    stack-pkgs = callStackToNix { src = ./.; };
    pkg-def-extras = [];
    modules = [];
  };
in pkgSet.config.hsPkgs
```
2019-05-17 15:49:40 +08:00