[Git][ghc/ghc][wip/t22599] fix

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Fri Jan 6 08:57:51 UTC 2023



Matthew Pickering pushed to branch wip/t22599 at Glasgow Haskell Compiler / GHC


Commits:
d294dcde by Matthew Pickering at 2023-01-06T08:57:27+00:00
fix

- - - - -


1 changed file:

- .gitlab/darwin/toolchain.nix


Changes:

=====================================
.gitlab/darwin/toolchain.nix
=====================================
@@ -36,9 +36,10 @@ let
       "CONF_CXX_OPTS_STAGE2=--target=${targetTriple}"
       "CONF_GCC_LINKER_OPTS_STAGE2=--target=${targetTriple}"
     ];
-    buildPhase = "true"; 
+    buildPhase = "true";
     preConfigure = ''
-      sed "s/\"\$CC\" -o actest actest.o \''${1} 2>\/dev\/null/true/i" configure
+      sed "s/\"\$CC\" -o actest actest.o \''${1} 2>\/dev\/null/true/i" configure > configure.new
+      mv configure.new configure
       cat configure
 
     '';



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d294dcde20920bdf2c42fb9a2b0ae8e06f971cd3
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/20230106/767bce2f/attachment-0001.html>


More information about the ghc-commits mailing list