Merge pull request #11549 from jgillich/syslinux
syslinux: fix missing mtools dependency
This commit is contained in:
commit
fcf88282f9
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, nasm, perl, python, libuuid }:
|
{ stdenv, fetchFromGitHub, nasm, perl, python, libuuid, mtools, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "syslinux-2015-11-09";
|
name = "syslinux-2015-11-09";
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [ ./perl-deps.patch ];
|
patches = [ ./perl-deps.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ nasm perl python ];
|
nativeBuildInputs = [ nasm perl python ];
|
||||||
buildInputs = [ libuuid ];
|
buildInputs = [ libuuid makeWrapper ];
|
||||||
|
|
||||||
enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
|
enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
|
||||||
|
|
||||||
@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
|
|||||||
"bios"
|
"bios"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/syslinux \
|
||||||
|
--prefix PATH : "${mtools}/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.syslinux.org/;
|
homepage = http://www.syslinux.org/;
|
||||||
description = "A lightweight bootloader";
|
description = "A lightweight bootloader";
|
||||||
|
Loading…
Reference in New Issue
Block a user