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