git.iko.soy/typeable/nixpkgs
on master help sign in
syslinux: Slim down closure size
commit26432f3e535a8e11727f58f02c9161723bf326ec authorTuomas Tynkkynen <tuomas@tuxera.com> dateWed 23 May 2018, 20:59 (9 years ago) parent91117f0
1 file changed+3
pkgs/os-specific/linux/syslinux/default.nix+3
pkgs/os-specific/linux/syslinux/default.nix+3
@@ -50,6 +50,9 @@ stdenv.mkDerivation rec {
5050 postInstall = ''
5151 wrapProgram $out/bin/syslinux \
5252 --prefix PATH : "${mtools}/bin"
53+
54+ # Delete com32 headers to save space, nobody seems to be using them
55+ rm -rf $out/share/syslinux/com32
5356 '';
5457
5558 meta = with stdenv.lib; {