Skip to content

Commit eb94435

Browse files
committed
Check other locations for extra-compilation-artifacts
1 parent f71605f commit eb94435

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

builder/comp-builder.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,10 @@ let
652652
mkdir -p $out/share
653653
if [ -d dist/build/extra-compilation-artifacts ]; then
654654
cp -r dist/build/extra-compilation-artifacts/hpc $out/share
655+
elif [ -d ${testExecutable}-tmp/extra-compilation-artifacts ]; then
656+
cp -r ${testExecutable}-tmp/extra-compilation-artifacts/hpc $out/share
657+
elif [ -d dist/build/${componentId.cname}/extra-compilation-artifacts ]; then
658+
cp -r dist/build/${componentId.cname}/extra-compilation-artifacts/hpc $out/share
655659
else
656660
cp -r dist/hpc $out/share
657661
fi

0 commit comments

Comments
 (0)