From bc9e5b0ea863a17537987faa5a72b00efc7767d1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 18 Jul 2022 22:09:58 -0400 Subject: Upgrade nixpkgs, ghc923 I ended up deleting miso, and consequently all files under Hero/ and Miso/, because I couldn't get miso to build with GHC 9.2. Other things: - Niv has been wrapped by Biz/Bild/Deps.hs, so I can extend it to my liking. - Apply-refact is gone because I couldn't get it to build. - Disabled python stuff. --- Biz/Que/Host.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Biz/Que') diff --git a/Biz/Que/Host.hs b/Biz/Que/Host.hs index 702827e..b26f9c7 100644 --- a/Biz/Que/Host.hs +++ b/Biz/Que/Host.hs @@ -106,7 +106,7 @@ instance Accept HTML where contentTypes _ = "text" // "html" /: ("charset", "utf-8") :| ["text" // "html"] instance MimeRender HTML ByteString where - mimeRender _ x = str x + mimeRender _ = str instance MimeUnrender HTML Text where mimeUnrender _ bs = Right <| str bs @@ -115,7 +115,7 @@ instance MimeUnrender OctetStream Text where mimeUnrender _ bs = Right <| str bs instance MimeRender PlainText ByteString where - mimeRender _ bs = str bs + mimeRender _ = str instance MimeUnrender PlainText ByteString where mimeUnrender _ bs = Right <| str bs -- cgit v1.2.3