mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 22:19:10 +00:00
haskell.compiler.ghc941: apply fix for racy build system
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8751 https://gitlab.haskell.org/ghc/ghc/-/issues/21934 Hopefully this patch fixes the problem we experienced on Hydra once (out of three builds).
This commit is contained in:
parent
17746af0c5
commit
4e7c3b9828
@ -197,6 +197,12 @@ stdenv.mkDerivation (rec {
|
||||
extraPrefix = "utils/haddock/";
|
||||
stripLen = 1;
|
||||
})
|
||||
# fix race condition in make build system
|
||||
(fetchpatch {
|
||||
name = "ghc-hs-boot-copying-fix.patch";
|
||||
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/4f17eff0cbd125eca55b68f4927befdd45008eb6.diff";
|
||||
sha256 = "0anq3w9z9mhxb0wx6rvxac3n7rl3apcma9zk3r9zz9hj9v7vkqzx";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
Loading…
Reference in New Issue
Block a user