From 362a31166d058b6ad6a7b44f8c52fe2436f0738e Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 18 Jun 2020 11:08:55 +0100 Subject: [PATCH] Create Nix shell for Haskell scratchpad Helps me run my chapter exercises. --- .../shell.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 scratch/haskell-programming-from-first-principles/shell.nix diff --git a/scratch/haskell-programming-from-first-principles/shell.nix b/scratch/haskell-programming-from-first-principles/shell.nix new file mode 100644 index 000000000..3190e6e75 --- /dev/null +++ b/scratch/haskell-programming-from-first-principles/shell.nix @@ -0,0 +1,10 @@ +let + pkgs = import {}; +in pkgs.mkShell { + buildInputs = with pkgs; [ + (haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [ + hpkgs.quickcheck-simple + hpkgs.checkers + ])) + ]; +}