refactor: simplify logger middleware
This commit is contained in:
committed by
Steve Chavez
parent
7272d8894c
commit
ce578ec1b8
@@ -20,6 +20,36 @@ let
|
||||
# To get the sha256:
|
||||
# nix-prefetch-url --unpack https://hackage.haskell.org/package/protolude-0.3.0/protolude-0.3.0.tar.gz
|
||||
|
||||
# To temporarily pin unreleased versions from GitHub:
|
||||
# <name> =
|
||||
# prev.callCabal2nixWithOptions "<name>" (super.fetchFromGitHub {
|
||||
# owner = "<owner>";
|
||||
# repo = "<repo>";
|
||||
# rev = "<commit>";
|
||||
# sha256 = "<sha256>";
|
||||
# }) "--subpath=<subpath>" {};
|
||||
#
|
||||
# To get the sha256:
|
||||
# nix-prefetch-url --unpack https://github.com/<owner>/<repo>/archive/<commit>.tar.gz
|
||||
|
||||
wai-extra =
|
||||
prev.callHackageDirect
|
||||
{
|
||||
pkg = "wai-extra";
|
||||
ver = "3.1.8";
|
||||
sha256 = "1ha8sxc2ii7k7xs5nm06wfwqmf4f1p2acp4ya0jnx6yn6551qps4";
|
||||
}
|
||||
{ };
|
||||
|
||||
wai-logger =
|
||||
prev.callHackageDirect
|
||||
{
|
||||
pkg = "wai-logger";
|
||||
ver = "2.3.7";
|
||||
sha256 = "1d23fdbwbahr3y1vdyn57m1qhljy22pm5cpgb20dy6mlxzdb30xd";
|
||||
}
|
||||
{ };
|
||||
|
||||
hasql-dynamic-statements =
|
||||
lib.dontCheck (lib.unmarkBroken prev.hasql-dynamic-statements);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user