mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
390771849a
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
```
3 lines
46 B
Haskell
3 lines
46 B
Haskell
import Distribution.Simple
|
|
main = defaultMain
|