mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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
@ -217,8 +217,8 @@ stdenv.mkDerivation ((builtins.removeAttrs attrs ["source"]) // {
|
|||||||
|
|
||||||
# looks like useless files which break build repeatability and consume space
|
# looks like useless files which break build repeatability and consume space
|
||||||
pushd $out/${ruby.gemPath}
|
pushd $out/${ruby.gemPath}
|
||||||
rm -fv doc/*/*/created.rid || true
|
find doc/ -iname created.rid -delete -print
|
||||||
rm -fv {gems/*/ext/*,extensions/*/*/*}/{Makefile,mkmf.log,gem_make.out} || true
|
find gems/*/ext/ extensions/ \( -iname Makefile -o -iname mkmf.log -o -iname gem_make.out \) -delete -print
|
||||||
${if keepGemCache then "" else "rm -fvr cache"}
|
${if keepGemCache then "" else "rm -fvr cache"}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user