syslinux: fix missing mtools dependency

closes #11472

+7 -2
+7 -2
pkgs/os-specific/linux/syslinux/default.nix
··· 1 - { stdenv, fetchFromGitHub, nasm, perl, python, libuuid }: 1 + { stdenv, fetchFromGitHub, nasm, perl, python, libuuid, mtools, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "syslinux-2015-11-09"; ··· 13 13 patches = [ ./perl-deps.patch ]; 14 14 15 15 nativeBuildInputs = [ nasm perl python ]; 16 - buildInputs = [ libuuid ]; 16 + buildInputs = [ libuuid makeWrapper ]; 17 17 18 18 enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...' 19 19 ··· 35 35 "PERL=perl" 36 36 "bios" 37 37 ]; 38 + 39 + postInstall = '' 40 + wrapProgram $out/bin/syslinux \ 41 + --prefix PATH : "${mtools}/bin" 42 + ''; 38 43 39 44 meta = with stdenv.lib; { 40 45 homepage = http://www.syslinux.org/;