summaryrefslogtreecommitdiff
path: root/stack.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-11-13 17:05:24 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-11-13 17:05:24 +0100
commitb9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd (patch)
treee073dadcb6e7f0715cb5aee9ed3562962a78da65 /stack.nix
parentb7a198d70ebe95cae8e8ee838999d8be59f48427 (diff)
downloadincremental-dfsts-b9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd.tar
incremental-dfsts-b9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd.tar.gz
incremental-dfsts-b9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd.tar.bz2
incremental-dfsts-b9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd.tar.xz
incremental-dfsts-b9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd.zip
Initial work on central definitions
Diffstat (limited to 'stack.nix')
-rw-r--r--stack.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/stack.nix b/stack.nix
new file mode 100644
index 0000000..eec431d
--- /dev/null
+++ b/stack.nix
@@ -0,0 +1,11 @@
1{ ghc, nixpkgs ? (import <nixpkgs> {}) }:
2
3let
4 inherit (nixpkgs) haskell pkgs;
5in haskell.lib.buildStackProject {
6 inherit ghc;
7 name = "stackenv";
8 buildInputs = with pkgs;
9 [ zlib
10 ];
11}