From b9eaf43c5da941b8e7c37c4ac950c8f2a7e618cd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 13 Nov 2017 17:05:24 +0100 Subject: Initial work on central definitions --- stack.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 stack.nix (limited to 'stack.nix') diff --git a/stack.nix b/stack.nix new file mode 100644 index 0000000..eec431d --- /dev/null +++ b/stack.nix @@ -0,0 +1,11 @@ +{ ghc, nixpkgs ? (import {}) }: + +let + inherit (nixpkgs) haskell pkgs; +in haskell.lib.buildStackProject { + inherit ghc; + name = "stackenv"; + buildInputs = with pkgs; + [ zlib + ]; +} -- cgit v1.2.3