From 9110064fe62f98dd3ecc5fb4c3915a843492b8fb Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 23 Oct 2023 23:18:34 +0200 Subject: a year went by This does many meta-things, but changes no functionality: - get rid of stack, and use just cabal with a stackage snapshot instead (why did I ever think stack was a good idea?) - update the stackage snapshot to something halfway recent - thus making builds work on nixpkgs-23.05 (current stable) - separating out packages into their own cabal files - use the GHC2021 set of extensions as default - very slight code changes to make things build again - update readme accordingly - stylish-haskell run --- src/Version.hs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/Version.hs (limited to 'src/Version.hs') diff --git a/src/Version.hs b/src/Version.hs deleted file mode 100644 index 1748512..0000000 --- a/src/Version.hs +++ /dev/null @@ -1,17 +0,0 @@ -{-# LANGUAGE TemplateHaskell #-} - - -module Version ( version ) where - -import Universum - -import qualified Language.Haskell.TH as TH -import System.Process (readProcess) - -version :: String -version = "walint generic 2022 (" <> - $(do - hash <- liftIO $ catchAny (readProcess "git" ["rev-parse", "HEAD"] "") - (\_ -> pure "[unknown]") - pure . TH.LitE . TH.StringL $ take 40 hash) ++ - ")" -- cgit v1.2.3