tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
syslinux: fix missing mtools dependency
closes #11472
Jakob Gillich
10 years ago
985bd080
2838161c
+7
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
syslinux
default.nix
+7
-2
pkgs/os-specific/linux/syslinux/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, nasm, perl, python, libuuid }:
1
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
16
-
buildInputs = [ libuuid ];
16
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
38
+
39
39
+
postInstall = ''
40
40
+
wrapProgram $out/bin/syslinux \
41
41
+
--prefix PATH : "${mtools}/bin"
42
42
+
'';
38
43
39
44
meta = with stdenv.lib; {
40
45
homepage = http://www.syslinux.org/;