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
-
{ 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
];
0
0
0
0
0
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/;