mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-haskell/servant-server: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
From: hololeap <hololeap@protonmail.com>
|
||||
Signed-off-by: hololeap <hololeap@protonmail.com>
|
||||
|
||||
Add 'examples' USE flag and rename the example executable from 'greet' to
|
||||
'servant-server-example'.
|
||||
|
||||
diff -urN servant-server-0.18.3/servant-server.cabal servant-server-0.18.3-r1/servant-server.cabal
|
||||
--- servant-server-0.18.3/servant-server.cabal 2022-02-11 02:33:28.463223367 -0700
|
||||
+++ servant-server-0.18.3-r1/servant-server.cabal 2022-02-11 02:35:38.242984376 -0700
|
||||
@@ -33,6 +33,10 @@
|
||||
type: git
|
||||
location: http://github.com/haskell-servant/servant.git
|
||||
|
||||
+flag examples
|
||||
+ description: Build the servant-server-example executable
|
||||
+ default: False
|
||||
+
|
||||
library
|
||||
exposed-modules:
|
||||
Servant
|
||||
@@ -99,7 +103,9 @@
|
||||
|
||||
ghc-options: -Wall -Wno-redundant-constraints
|
||||
|
||||
-executable greet
|
||||
+executable servant-server-example
|
||||
+ if !flag(examples)
|
||||
+ buildable: False
|
||||
main-is: greet.hs
|
||||
hs-source-dirs: example
|
||||
ghc-options: -Wall
|
||||
Reference in New Issue
Block a user