[Git][ghc/ghc][wip/ghc-9.6.7-backports] hadrian: change || to &&
Luite Stegeman (@luite)
gitlab at gitlab.haskell.org
Wed Jan 22 22:50:00 UTC 2025
Luite Stegeman pushed to branch wip/ghc-9.6.7-backports at Glasgow Haskell Compiler / GHC
Commits:
bb99b85e by Luite Stegeman at 2025-01-22T15:16:00+01:00
hadrian: change || to &&
- - - - -
1 changed file:
- hadrian/src/Settings/Builders/Ghc.hs
Changes:
=====================================
hadrian/src/Settings/Builders/Ghc.hs
=====================================
@@ -247,9 +247,9 @@ packageGhcArgs = do
, packageDatabaseArgs
-- We want to pass -this-unit-id for executables as well for multi-repl to
-- work with executable packages but this is buggy on GHC-9.0.2
- , (isLibrary package || (ghc_ver >= makeVersion [9,2,1])) ?
+ , (isLibrary package && (ghc_ver >= makeVersion [9,2,1])) ?
arg ("-this-unit-id " ++ pkgId)
- , (isLibrary package || (ghc_ver >= makeVersion [9,4,1])) ?
+ , (isLibrary package && (ghc_ver >= makeVersion [9,4,1])) ?
arg ("-this-package-name " ++ pkgName)
, map ("-package-id " ++) <$> getContextData depIds ]
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bb99b85e7d7b56c6d322cba7eca8a5316d478121
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bb99b85e7d7b56c6d322cba7eca8a5316d478121
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/20250122/b6f8711a/attachment.html>
More information about the ghc-commits
mailing list