commit 3430abebf11883f6b6114e46a09118df6748f72f Author: Camden Dixie O'Brien Date: Fri Jan 1 00:00:38 2021 +0000 Add nix-shell expression diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..18dcbef --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? import {} }: +let + haskellDeps = ps: with ps; [ base gloss ]; +in pkgs.mkShell { + buildInputs = with pkgs; [ + haskellPackages.cabal-install + (haskellPackages.ghcWithPackages haskellDeps) + ]; +}