summary refs log tree commit diff
path: root/pkgs/os-specific/linux/criu
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2014-08-10 10:40:17 +0200
committerLuca Bruno <lethalman88@gmail.com>2014-08-10 11:50:43 +0200
commit1ee786fc3da169d9bba680c5de1ccee8f42a9687 (patch)
treea9b1447ad488bb00a59fe17c2cf8157b95a3cc98 /pkgs/os-specific/linux/criu
parente26188938c3142abe260331f439056e3f55d6778 (diff)
downloadnixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.tar
nixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.tar.gz
nixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.tar.bz2
nixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.tar.lz
nixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.tar.xz
nixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.tar.zst
nixlib-1ee786fc3da169d9bba680c5de1ccee8f42a9687.zip
criu: fix build for ZHF
Diffstat (limited to 'pkgs/os-specific/linux/criu')
-rw-r--r--pkgs/os-specific/linux/criu/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/criu/default.nix b/pkgs/os-specific/linux/criu/default.nix
index 8cb39927353c..e0ea02a209f5 100644
--- a/pkgs/os-specific/linux/criu/default.nix
+++ b/pkgs/os-specific/linux/criu/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, protobuf, protobufc, asciidoc, xmlto, utillinux }:
+{ stdenv, fetchurl, protobuf, protobufc, asciidoc
+, xmlto, utillinux, docbook_xsl, libpaper }:
 
 stdenv.mkDerivation rec {
   name    = "criu-${version}";
@@ -10,12 +11,13 @@ stdenv.mkDerivation rec {
   };
 
   enableParallelBuilding = true;
-  buildInputs = [ protobuf protobufc asciidoc xmlto ];
+  buildInputs = [ protobuf protobufc asciidoc xmlto libpaper ];
 
   patchPhase = ''
     chmod +w ./scripts/gen-offsets.sh
     substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump
     substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
+    substituteInPlace ./Documentation/Makefile --replace "--skip-validation" "--skip-validation -x ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
   '';
 
   configurePhase = "make config PREFIX=$out";