Add nix-shell expression

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:38 +00:00
commit 3430abebf1

9
shell.nix Normal file
View File

@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> {} }:
let
haskellDeps = ps: with ps; [ base gloss ];
in pkgs.mkShell {
buildInputs = with pkgs; [
haskellPackages.cabal-install
(haskellPackages.ghcWithPackages haskellDeps)
];
}