criu: fix build

Would fail due to -Werror; see
https://hydra.nixos.org/build/33217086/nixlog/2/raw
This commit is contained in:
Joachim Fasting 2016-03-18 23:39:03 +01:00
parent bd4db4e91e
commit 3e1ec2b663

View File

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
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"
substituteInPlace ./Makefile --replace "-Werror" ""
'';
configurePhase = "make config PREFIX=$out";
@ -28,11 +29,11 @@ stdenv.mkDerivation rec {
make install PREFIX=$out LIBDIR=$out/lib ASCIIDOC=${asciidoc}/bin/asciidoc XMLTO=${xmlto}/bin/xmlto
'';
meta = {
description = "userspace checkpoint/restore for Linux";
homepage = "http://criu.org";
license = stdenv.lib.licenses.gpl2;
meta = with stdenv.lib; {
description = "Userspace checkpoint/restore for Linux";
homepage = https://criu.org;
license = licenses.gpl2;
platforms = [ "x86_64-linux" ];
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
maintainers = [ maintainers.thoughtpolice ];
};
}