mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
minimal-bootstrap: header installation should not retain build-time bash and sed
This commit is contained in:
@@ -155,6 +155,9 @@ bash.runCommand "${pname}-${version}"
|
||||
# Install
|
||||
make -j $NIX_BUILD_CORES install-strip
|
||||
|
||||
# Header installation tools retain build-time bash and sed unnecessarily.
|
||||
rm -rf $out/libexec/gcc/*/*/install-tools $out/lib/gcc/*/*/install-tools
|
||||
|
||||
# libstdc++ gdb pretty-printers + man pages are unused downstream.
|
||||
rm -rf $out/share/gcc-*/python $out/share/man $out/share/info
|
||||
''
|
||||
|
||||
@@ -154,6 +154,9 @@ bash.runCommand "${pname}-${version}"
|
||||
# Install
|
||||
make -j $NIX_BUILD_CORES install-strip
|
||||
|
||||
# Header installation tools retain build-time bash and sed unnecessarily.
|
||||
rm -rf $out/libexec/gcc/*/*/install-tools $out/lib/gcc/*/*/install-tools
|
||||
|
||||
# libstdc++ gdb pretty-printers + man pages are unused downstream.
|
||||
rm -rf $out/share/gcc-*/python $out/share/man $out/share/info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user