Merge pull request #145030 from siraben/tree-sitter-fix-darwin

tree-sitter: only strip on Linux

authored by Bernardo Meurer and committed by GitHub 2de888a9 363f5901

+3 -3
+3 -3
pkgs/development/tools/parsing/tree-sitter/grammar.nix
··· 51 51 runHook postInstall 52 52 ''; 53 53 54 - # Auto strip cannot detect files missing extension. 55 - fixupPhase = '' 54 + # Strip failed on darwin: strip: error: symbols referenced by indirect symbol table entries that can't be stripped 55 + fixupPhase = lib.optionalString stdenv.isLinux '' 56 56 runHook preFixup 57 - strip -s $out/parser 57 + $STRIP $out/parser 58 58 runHook postFixup 59 59 ''; 60 60 }