git.iko.soy/typeable/entropy
on main help sign in
Update Setup.hs for Cabal 3.14
commite95de3555209d9cb71381f96d13e4651b8307848 authorVaibhav Sagar <vaibhavsagar@gmail.com> dateMon 30 Dec 2024, 13:03 (2 years ago) parent5d0c71e
2 files changed+5−2
Setup.hs+4−1 entropy.cabal+1−1
Setup.hs+4−1
@@ -106,7 +106,10 @@ checkGetentropy cc lbi = do
106106 where cArgs = ["-DHAVE_GETENTROPY"]
107107
108108myRawSystemExitCode :: Verbosity -> FilePath -> [String] -> IO ExitCode
109−#if __GLASGOW_HASKELL__ >= 704
109+#if MIN_VERSION_Cabal(3,14,0)
110+myRawSystemExitCode verbosity program arguments =
111+ rawSystemExitCode verbosity Nothing program arguments Nothing
112+#elif __GLASGOW_HASKELL__ >= 704
110113-- We know for sure, that if GHC >= 7.4 implies Cabal >= 1.14
111114myRawSystemExitCode = rawSystemExitCode
112115#else
entropy.cabal+1−1
@@ -47,7 +47,7 @@ Flag DoNotGetEntropy
4747 Manual: True
4848
4949custom-setup
50− setup-depends: Cabal >= 1.10 && < 3.13
50+ setup-depends: Cabal >= 1.10 && < 3.15
5151 , base < 5
5252 , filepath < 1.6
5353 , directory < 1.4