ruby: reproducible
Generated Makefile's were nested deeper than the existing rm would be able to remove.
This commit is contained in:
parent
87c1a24c47
commit
a10183d3ec
1 changed files with 2 additions and 2 deletions
|
@ -217,8 +217,8 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
|
|||
|
||||
# looks like useless files which break build repeatability and consume space
|
||||
pushd $out/${ruby.gemPath}
|
||||
rm -fv doc/*/*/created.rid || true
|
||||
rm -fv {gems/*/ext/*,extensions/*/*/*}/{Makefile,mkmf.log,gem_make.out} || true
|
||||
find doc/ -iname created.rid -delete -print
|
||||
find gems/*/ext/ extensions/ \( -iname Makefile -o -iname mkmf.log -o -iname gem_make.out \) -delete -print
|
||||
${if keepGemCache then "" else "rm -fvr cache"}
|
||||
popd
|
||||
|
||||
|
|
Loading…
Reference in a new issue