ruby: fix cross build (#348566)

This commit is contained in:
Sean Gillespie 2024-10-30 12:00:45 -04:00 committed by GitHub
parent 85d60c6e4f
commit 04a90ffde2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,7 +216,7 @@ let
for makefile in $extMakefiles; do
make -C "$(dirname "$makefile")" distclean
done
find "$out/${finalAttrs.passthru.gemPath}" \( -name gem_make.out -o -name mkmf.log \) -delete
find "$out/${finalAttrs.passthru.gemPath}" \( -name gem_make.out -o -name mkmf.log -o -name exts.mk \) -delete
# Bundler tries to create this directory
mkdir -p $out/nix-support
cat > $out/nix-support/setup-hook <<EOF