[Git][ghc/ghc][wip/hadrian-subst-bindist] Apply 1 suggestion(s) to 1 file(s)

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Wed Feb 21 11:27:05 UTC 2024



Sylvain Henry pushed to branch wip/hadrian-subst-bindist at Glasgow Haskell Compiler / GHC


Commits:
3c8cd3f5 by Sylvain Henry at 2024-02-21T11:26:58+00:00
Apply 1 suggestion(s) to 1 file(s)
- - - - -


1 changed file:

- hadrian/src/Rules/BinaryDist.hs


Changes:

=====================================
hadrian/src/Rules/BinaryDist.hs
=====================================
@@ -357,8 +357,7 @@ bindistRules = do
     forM_ bindistInstallFiles $ \file ->
         root -/- "bindist" -/- "ghc-*" -/- file %> \dest -> do
             ghcRoot <- topDirectory
-            let source = fixup file
-            copyFile (ghcRoot -/- source) dest
+            copyFile (fixup file) dest
 
   where
     fixup f | f `elem` ["INSTALL", "README"] = "distrib" -/- f



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3c8cd3f5e34f3aafb0efd2521d7e4665672c1d57
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/20240221/0e016ac8/attachment.html>


More information about the ghc-commits mailing list