From 26432f3e535a8e11727f58f02c9161723bf326ec Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Wed, 23 May 2018 20:59:42 +0300 Subject: [PATCH] syslinux: Slim down closure size --- pkgs/os-specific/linux/syslinux/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/syslinux/default.nix b/pkgs/os-specific/linux/syslinux/default.nix index f1e5cc6e2625..8a87d3fce580 100644 --- a/pkgs/os-specific/linux/syslinux/default.nix +++ b/pkgs/os-specific/linux/syslinux/default.nix @@ -50,6 +50,9 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/syslinux \ --prefix PATH : "${mtools}/bin" + + # Delete com32 headers to save space, nobody seems to be using them + rm -rf $out/share/syslinux/com32 ''; meta = with stdenv.lib; {