tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
criu: fix build for ZHF
Luca Bruno
11 years ago
1ee786fc
e2618893
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
criu
default.nix
+4
-2
pkgs/os-specific/linux/criu/default.nix
···
1
1
-
{ stdenv, fetchurl, protobuf, protobufc, asciidoc, xmlto, utillinux }:
1
1
+
{ stdenv, fetchurl, protobuf, protobufc, asciidoc
2
2
+
, xmlto, utillinux, docbook_xsl, libpaper }:
2
3
3
4
stdenv.mkDerivation rec {
4
5
name = "criu-${version}";
···
10
11
};
11
12
12
13
enableParallelBuilding = true;
13
13
-
buildInputs = [ protobuf protobufc asciidoc xmlto ];
14
14
+
buildInputs = [ protobuf protobufc asciidoc xmlto libpaper ];
14
15
15
16
patchPhase = ''
16
17
chmod +w ./scripts/gen-offsets.sh
17
18
substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump
18
19
substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
20
20
+
substituteInPlace ./Documentation/Makefile --replace "--skip-validation" "--skip-validation -x ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
19
21
'';
20
22
21
23
configurePhase = "make config PREFIX=$out";