Skip to content

Commit 69a42f8

Browse files
authored
Workaround for Hydra cp corruption (#1766)
See IntersectMBO/ouroboros-network#4007
1 parent eaa8491 commit 69a42f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/comp-builder.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ let
538538
mkdir -p $out/bin
539539
if [ -f ${testExecutable} ]; then
540540
mkdir -p $(dirname $out/bin/${exeName})
541+
${lib.optionalString stdenv.buildPlatform.isLinux "sync"}
541542
${if stdenv.hostPlatform.isGhcjs then ''
542543
cat <(echo \#!${lib.getBin buildPackages.nodejs-18_x}/bin/node) ${testExecutable} >| $out/bin/${exeName}
543544
chmod +x $out/bin/${exeName}

0 commit comments

Comments
 (0)