head 1.2; access; symbols pkgsrc-2024Q1:1.1.0.10 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.8 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.6 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2024.05.04.13.33.09; author pho; state dead; branches; next 1.1; commitid F2y1AwLnbdeSxG8F; 1.1 date 2023.01.29.05.24.22; author pho; state Exp; branches; next ; commitid 8EPKw8j4bL2VEobE; desc @@ 1.2 log @www/hs-servant-server: Make use of HASKELL_DISABLE_EXECUTABLES @ text @$NetBSD: patch-servant-server.cabal,v 1.1 2023/01/29 05:24:22 pho Exp $ Don't build the executable "greet". It's only an example of the library. --- servant-server.cabal.orig 2023-01-29 05:20:26.105924096 +0000 +++ servant-server.cabal @@@@ -101,6 +101,7 @@@@ library ghc-options: -Wall -Wno-redundant-constraints executable greet + buildable: False main-is: greet.hs hs-source-dirs: example ghc-options: -Wall @ 1.1 log @www/hs-servant-server: import hs-servant-server-0.19.2 This library lets you implement an HTTP server with handlers for each endpoint of a servant API, handling most of the boilerplate for you. @ text @d1 1 a1 1 $NetBSD$ @