@@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
4949 -not -name '*.so.*' \
5050 -not -name '*.so' \
5151 -not -name '*.jar' \
52+ -not -name 'jspawnhelper' \
5253 -not -path '*/resources/*' | \
5354 while IFS= read -r f ; do
5455 patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" $f
@@ -58,6 +59,10 @@ stdenv.mkDerivation rec {
5859 --suffix LD_LIBRARY_PATH : "${lib.strings.makeLibraryPath buildInputs}"
5960 done
6061
62+ find $out -type f -executable -name 'jspawnhelper' | \
63+ while IFS= read -r f ; do
64+ patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" $f
65+ done
6166 '';
6267
6368 meta = with lib; {