From 56793213170bdb3fb7f8795cd198148332870af1 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 9 Mar 2026 14:58:49 +0100 Subject: modernize cabal 1.2 -> 3.0, language GHC2024 --- app/Main.hs | 1 - app/Process.hs | 1 - hack.cabal | 4 +++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Main.hs b/app/Main.hs index 3c62184..55f8608 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -5,7 +5,6 @@ module Main where import Control.Lens hiding (Empty, imap) -import Control.Applicative import Control.Concurrent import Control.Monad import Data.Char diff --git a/app/Process.hs b/app/Process.hs index 41ea113..8a213b1 100644 --- a/app/Process.hs +++ b/app/Process.hs @@ -7,7 +7,6 @@ module Process import Control.Concurrent import Control.Monad (unless, when) -import Data.Monoid import System.Exit import System.IO import System.Process diff --git a/hack.cabal b/hack.cabal index f7c8d3a..e114398 100644 --- a/hack.cabal +++ b/hack.cabal @@ -1,12 +1,13 @@ +cabal-version: 3.0 name: hack version: 1.0.3 license: MIT author: tv maintainer: tv@krebsco.de build-type: Simple -cabal-version: >=1.2 library + default-language: GHC2024 build-depends: base exposed-modules: Hack.Buffer , Hack.Buffer.Class @@ -19,6 +20,7 @@ Executable hack hs-source-dirs: app other-modules: Process + default-language: GHC2024 Build-depends: blessings, containers, -- cgit v1.2.3