add missing dependencies into shell.nix

This commit is contained in:
akhesacaro 2021-10-02 13:09:51 +02:00
parent b1a9876dc9
commit af7d281ef0

View file

@ -14,7 +14,7 @@ let nixos = fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/refs/
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "servant-dev"; name = "servant-dev";
buildInputs = [ ghc zlib python3 wget cabal-install postgresql openssl ] buildInputs = [ ghc zlib python3 wget cabal-install postgresql openssl stack haskellPackages.hspec-discover ]
++ (if tutorial then [docstuffs postgresql] else []); ++ (if tutorial then [docstuffs postgresql] else []);
shellHook = '' shellHook = ''
eval $(grep export ${ghc}/bin/ghc) eval $(grep export ${ghc}/bin/ghc)