b170be9375
TL;DR: - introduce the Cryptonite library - Remove the redundant language extensions, imports, deps from Persistent - Prefer NoContent return type for POST /accounts - Define custom {To,From}JSON instances for Role
14 lines
292 B
Nix
14 lines
292 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
(haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [
|
|
hpkgs.servant-server
|
|
hpkgs.aeson
|
|
hpkgs.resource-pool
|
|
hpkgs.sqlite-simple
|
|
hpkgs.warp
|
|
hpkgs.cryptonite
|
|
]))
|
|
];
|
|
}
|