criu: Rely on XML_CATALOG_FILES variable
This commit is contained in:
parent
7c690aec16
commit
08b283b37e
|
@ -12,14 +12,13 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig docbook_xsl ];
|
||||||
buildInputs = [ protobuf protobufc asciidoc xmlto libpaper libnl libcap python ];
|
buildInputs = [ protobuf protobufc asciidoc xmlto libpaper libnl libcap python ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
chmod +w ./scripts/gen-offsets.sh
|
chmod +w ./scripts/gen-offsets.sh
|
||||||
substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump
|
substituteInPlace ./scripts/gen-offsets.sh --replace hexdump ${utillinux}/bin/hexdump
|
||||||
substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
|
substituteInPlace ./Documentation/Makefile --replace "2>/dev/null" ""
|
||||||
substituteInPlace ./Documentation/Makefile --replace "--skip-validation" "--skip-validation -x ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl"
|
|
||||||
substituteInPlace ./criu/Makefile --replace "-I/usr/include/libnl3" "-I${libnl.dev}/include/libnl3"
|
substituteInPlace ./criu/Makefile --replace "-I/usr/include/libnl3" "-I${libnl.dev}/include/libnl3"
|
||||||
substituteInPlace ./Makefile --replace "tar-name := $(shell git tag -l v$(CRIU_VERSION))" "tar-name = 2.0" # --replace "-Werror" ""
|
substituteInPlace ./Makefile --replace "tar-name := $(shell git tag -l v$(CRIU_VERSION))" "tar-name = 2.0" # --replace "-Werror" ""
|
||||||
ln -sf ${protobuf}/include/google/protobuf/descriptor.proto ./images/google/protobuf/descriptor.proto
|
ln -sf ${protobuf}/include/google/protobuf/descriptor.proto ./images/google/protobuf/descriptor.proto
|
||||||
|
|
Loading…
Reference in a new issue