Skip to content

Commit

Permalink
ci(darwin): add check for unwanted dSYM
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Jul 11, 2024
1 parent 076a890 commit fa6c2f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nix/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,16 @@
buildInputs = [
final.tree-sitter
];
fixupPhase = ''
if [ ! -f $out/lib/lua/5.1/parser/norg.so ]; then
echo "Build did not create parser/norg.so in the expected location"
exit 1
fi
if [ -f $out/lib/lua/5.1/parser/norg.so.dSYM ]; then
echo "Unwanted darwin debug symbols!"
exit 1
fi
'';
}) {})
.overrideAttrs (oa: {
nativeBuildInputs =
Expand Down

0 comments on commit fa6c2f6

Please sign in to comment.