[Git][ghc/ghc][wip/romes/hardwire-ghc-unit-id] Attempt fixing bindist regex

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Wed Apr 5 08:59:54 UTC 2023



Matthew Pickering pushed to branch wip/romes/hardwire-ghc-unit-id at Glasgow Haskell Compiler / GHC


Commits:
f8f93599 by Matthew Pickering at 2023-04-05T09:59:39+01:00
Attempt fixing bindist regex

- - - - -


1 changed file:

- hadrian/bindist/Makefile


Changes:

=====================================
hadrian/bindist/Makefile
=====================================
@@ -226,7 +226,7 @@ update_package_db: install_bin install_lib
 	$(INSTALL_DATA) mk/system-cxx-std-lib-1.0.conf "$(DESTDIR)$(ActualLibsDir)/package.conf.d"
 	@echo "Updating the package DB"
 	$(foreach p, $(PKG_CONFS),\
-		$(call patchpackageconf,$(shell echo $(notdir $p) | sed 's/-\([0-9]*[0-9]\.\)*\([0-9]\+\)\(-[0-9a-zA-Z]\+\)*\.conf//g'),$(shell echo "$p" | sed 's:\0xxx\0:   :g'),$(docdir),$(shell mk/relpath.sh "$(ActualLibsDir)" "$(docdir)"),$(shell echo $(notdir $p) | sed 's/.conf//g')))
+		$(call patchpackageconf,$(shell echo $(notdir $p) | sed 's/-[0-9.]*-[0-9a-zA-Z]*\.conf//g'),$(shell echo "$p" | sed 's:\0xxx\0:   :g'),$(docdir),$(shell mk/relpath.sh "$(ActualLibsDir)" "$(docdir)"),$(shell echo $(notdir $p) | sed 's/.conf//g')))
 	'$(DESTDIR)$(ActualBinsDir)/$(CrossCompilePrefix)ghc-pkg' --global-package-db "$(DESTDIR)$(ActualLibsDir)/package.conf.d" recache
 
 install_mingw:



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f8f935994e0e358d413f57df397d8eeaf45c0bea

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f8f935994e0e358d413f57df397d8eeaf45c0bea
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230405/9deb9802/attachment.html>


More information about the ghc-commits mailing list