[Git][haskell-team/DHG_packages][master] hadrian: Enable GHCi on all platforms

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Sat Oct 14 12:43:56 BST 2023



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
51ed7175 by Ilias Tsitsimpis at 2023-10-14T14:18:23+03:00
hadrian: Enable GHCi on all platforms

- - - - -


3 changed files:

- p/haskell-hadrian/debian/changelog
- + p/haskell-hadrian/debian/patches/enable-interpreter
- p/haskell-hadrian/debian/patches/series


Changes:

=====================================
p/haskell-hadrian/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-hadrian (9.4.7-3) unstable; urgency=medium
+
+  * Enable GHCi on all platforms
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Sat, 14 Oct 2023 14:18:18 +0300
+
 haskell-hadrian (9.4.7-2) unstable; urgency=medium
 
   * Relax versioned dependency on GHC


=====================================
p/haskell-hadrian/debian/patches/enable-interpreter
=====================================
@@ -0,0 +1,24 @@
+Description: Enable GHCi on all platforms in Debian
+Author: Ilias Tsitsimpis <iliastsi at debian.org>
+Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/24098
+
+Index: b/src/Oracles/Setting.hs
+===================================================================
+--- a/src/Oracles/Setting.hs
++++ b/src/Oracles/Setting.hs
+@@ -287,13 +287,8 @@ hostSupportsRPaths = anyHostOs ["linux",
+ -- | Check whether the target supports GHCi.
+ ghcWithInterpreter :: Action Bool
+ ghcWithInterpreter = do
+-    goodOs <- anyTargetOs [ "mingw32", "cygwin32", "linux", "solaris2"
+-                          , "freebsd", "dragonfly", "netbsd", "openbsd"
+-                          , "darwin", "kfreebsdgnu" ]
+-    goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc"
+-                              , "arm", "aarch64", "s390x"
+-                              , "powerpc64", "powerpc64le" ]
+-    return $ goodOs && goodArch
++    -- Enable GHCi on all platforms for Debian
++    return True
+ 
+ -- | Variants of the ARM architecture.
+ data ArmVersion = ARMv5 | ARMv6 | ARMv7


=====================================
p/haskell-hadrian/debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 hadrian-haddock-opts
 hadrian-iserv
 fix-dnosmp
+enable-interpreter



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/51ed717504817b7badbff546898e153860be09ec

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/51ed717504817b7badbff546898e153860be09ec
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20231014/bf0131c7/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list