From e5b7ddbb59fc9fcdc8411a5e3ec5027f9a27db01 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 21 Aug 2023 23:50:03 +0800 Subject: [PATCH] Fix build with cabal-install-3.10 It seems to get confused by the .h file in c-sources and fails with: ---- Warning: the following files would be used as linker inputs, but linking is not being done: cbits/gwinsz.h ghc: no input files ---- --- vty-unix.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vty-unix.cabal b/vty-unix.cabal index bada4b1..43a502a 100644 --- a/vty-unix.cabal +++ b/vty-unix.cabal @@ -17,8 +17,8 @@ library import: warnings hs-source-dirs: src default-language: Haskell2010 + includes: cbits/gwinsz.h c-sources: cbits/set_term_timing.c - cbits/gwinsz.h cbits/gwinsz.c exposed-modules: Data.Terminfo.Eval Data.Terminfo.Parse