ruby: Do not assume gemPath

Other parts of this derivation use `passthru.gemPath` already, this is
the one exception.
This commit is contained in:
Andrew Marshall
2022-11-09 13:53:41 -05:00
parent 444a64008a
commit 4750b447cf
@@ -188,7 +188,7 @@ let
''
}
# Remove unnecessary external intermediate files created by gems
extMakefiles=$(find $out/lib/ruby/gems -name Makefile)
extMakefiles=$(find $out/${passthru.gemPath} -name Makefile)
for makefile in $extMakefiles; do
make -C "$(dirname "$makefile")" distclean
done