[Git][haskell-team/DHG_packages][master] hlint: fix threaded-runtime check

Clint Adams (@clint) gitlab at salsa.debian.org
Fri Feb 27 13:01:16 GMT 2026



Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
a83386ea by Clint Adams at 2026-02-27T08:00:40-05:00
hlint: fix threaded-runtime check

- - - - -


2 changed files:

- p/hlint/debian/changelog
- p/hlint/debian/rules


Changes:

=====================================
p/hlint/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+hlint (3.10-2) unstable; urgency=medium
+
+  * Update threaded-runtime check.
+
+ -- Clint Adams <clint at debian.org>  Fri, 27 Feb 2026 08:00:03 -0500
+
 hlint (3.10-1) unstable; urgency=medium
 
   [ Scott Talbert ]


=====================================
p/hlint/debian/rules
=====================================
@@ -1,7 +1,13 @@
 #!/usr/bin/make -f
 
 # If no threaded RTS is found, disable it
-export DEB_SETUP_GHC_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc/rts/libHSrts_thr.a || echo --flags=-threaded) --datasubdir=/usr/share/hlint
+RTS_WAYS := $(shell ghc --info | grep -e 'RTS ways')
+
+ifeq (,$(filter $(RTS_WAYS),thr_dyn))
+export DEB_SETUP_GHC_CONFIGURE_ARGS=--flags=-threaded --datasubdir=/usr/share/hlint
+else
+export DEB_SETUP_GHC_CONFIGURE_ARGS=--datasubdir=/usr/share/hlint
+endif
 
 %:
 	dh $@



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/a83386ea810a30d4f7f5463ba19422e07bfe8a3f
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/20260227/2cc28897/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list