[Git][haskell-team/haskell-devscripts][master] dh_haskell_provides_ghc: strip "-inplace" from configs.

Clint Adams (@clint) gitlab at salsa.debian.org
Fri Sep 12 20:10:55 BST 2025



Clint Adams pushed to branch master at Debian Haskell Group / haskell-devscripts


Commits:
6461692d by Clint Adams at 2025-09-12T14:58:22-04:00
dh_haskell_provides_ghc: strip "-inplace" from configs.

- - - - -


2 changed files:

- debian/changelog
- dh_haskell_provides_ghc


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-devscripts (0.16.35) experimental; urgency=medium
+
+  * dh_haskell_provides_ghc: strip "-inplace" from configs.
+
+ -- Clint Adams <clint at debian.org>  Fri, 12 Sep 2025 14:56:58 -0400
+
 haskell-devscripts (0.16.34) unstable; urgency=medium
 
   [ Holger Levsen ]


=====================================
dh_haskell_provides_ghc
=====================================
@@ -73,12 +73,13 @@ for my $installable (@{ $dh{DOPACKAGES} }) {
     for my $config (@configs) {
 
         my $name = path($config)->basename(qr{ [.]conf $}x);
+	(my $namever = $name) =~ s/-inplace$//;
         push(
             @hashed_ids,
             run(
                 $ghc_pkg, '--package-db', $ENV{DEB_GHC_DATABASE},
                 qw{--simple-output field},
-                $name, 'id'
+                $namever, 'id'
             ));
     }
 



View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/6461692d85049f00ae4a100b25306ad440d19b31

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/haskell-devscripts/-/commit/6461692d85049f00ae4a100b25306ad440d19b31
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/20250912/1b042aeb/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list