From ca31e0ee11d05b3250aa35db5baa0b155939bbbd Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 26 Apr 2019 20:10:09 +0200 Subject: Add tortillas recipe --- default.nix | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 17084f8..37fad5d 100644 --- a/default.nix +++ b/default.nix @@ -1,17 +1,20 @@ -with import {}; { - env = stdenv.mkDerivation { - name = "env"; - buildInputs = with pkgs; [ - stack - psc-package - (callPackage ./nix/purescript.nix {}) - nodePackages.nodemon - tmux - tmuxinator - nodejs-8_x - ]; - shellHook = '' - export PATH=node_modules/.bin:$PATH; - ''; - }; +with (import {}); + +haskell.lib.buildStackProject { + name = "myenv"; + + buildInputs = [ + zlib + stack + psc-package + (callPackage ./nix/purescript.nix {}) + nodePackages.nodemon + tmux + tmuxinator + nodejs-8_x + ]; + + shellHook = '' + export PATH=node_modules/.bin:$PATH; + ''; } -- cgit v1.2.3