[Git][haskell-team/dh-haskell][history] 2 commits: Do not install automatic Lintian overrides; will use Lintian's screens instead.

Felix Lechner (@lechner) gitlab at salsa.debian.org
Thu Apr 14 01:49:31 BST 2022



Felix Lechner pushed to branch history at Debian Haskell Group / dh-haskell


Commits:
c65120df by Felix Lechner at 2022-04-13T07:21:19-07:00
Do not install automatic Lintian overrides; will use Lintian's screens instead.

- - - - -
bd9f1115 by Felix Lechner at 2022-04-13T12:27:01-07:00
Set explicitly the location for GHC's temporary package database.

- - - - -


2 changed files:

- debian/control
- lib/Debian/Debhelper/Buildsystem/haskell.pm


Changes:

=====================================
debian/control
=====================================
@@ -20,7 +20,7 @@ Depends:
  ${perl:Depends},
  ${shlibs:Depends},
  debhelper (>= 9.20151220),
- haskell-devscripts (>= 0.16.6~),
+ haskell-devscripts (>= 0.16.10~),
  libconst-fast-perl,
  liblist-someutils-perl,
  libpath-tiny-perl


=====================================
lib/Debian/Debhelper/Buildsystem/haskell.pm
=====================================
@@ -95,6 +95,8 @@ sub new {
 
     $ENV{DEB_DEFAULT_COMPILER} //= 'ghc';
 
+    $ENV{DEB_GHC_DATABASE} = 'debian/tmp-db';
+
     my @cabal_candidates = glob('*.cabal');
 
     error('No cabal file found')
@@ -171,9 +173,6 @@ sub new {
 
     $ENV{DEB_BUILD_DEPENDENCIES} = 'build-arch';
 
-    $ENV{DEB_LINTIAN_OVERRIDES_FILE}
-      = "debian/libghc-$ENV{CABAL_PACKAGE}-dev.lintian-overrides";
-
     return $self;
 }
 
@@ -210,6 +209,8 @@ sub clean {
 
     clean_recipe();
 
+    run(qw{rm -rf}, $ENV{DEB_GHC_DATABASE});
+
     return;
 }
 



View it on GitLab: https://salsa.debian.org/haskell-team/dh-haskell/-/compare/8f28d2df971b87208353fb471ba76e4c6f24470b...bd9f1115a12c0041f2a6c1b7aa90c0e96a8d2225

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/dh-haskell/-/compare/8f28d2df971b87208353fb471ba76e4c6f24470b...bd9f1115a12c0041f2a6c1b7aa90c0e96a8d2225
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/20220414/8aed1426/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list