From f02ff6b9a988db111e0384640876f20ecd0e8293 Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 5 Jul 2022 15:05:22 +0200 Subject: Simplify tooling --- shell.nix | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index afe339f..997bd76 100644 --- a/shell.nix +++ b/shell.nix @@ -1,12 +1,17 @@ -with import {}; { - env = stdenv.mkDerivation { - name = "env"; - buildInputs = with nodePackages; with haskellPackages; [ - stack - nodemon - stylish-haskell - tmux - tmuxinator - ]; - }; +with (import (builtins.fetchGit { + name = "nixos-21.05-2021-08-02"; + url = "https://github.com/nixos/nixpkgs/"; + ref = "refs/heads/nixos-21.05"; + rev = "d4590d21006387dcb190c516724cb1e41c0f8fdf"; +}){}); + +mkShell { + + buildInputs = with haskellPackages; [ + cabal-install + stylish-haskell + tmux + (ghc.withPackages (hp: [ hp.zlib ])) + ]; + } -- cgit v1.2.3