mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
criu: fix build
Would fail due to -Werror; see https://hydra.nixos.org/build/33217086/nixlog/2/raw
This commit is contained in:
parent
bd4db4e91e
commit
3e1ec2b663
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
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 ./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";
|
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
|
make install PREFIX=$out LIBDIR=$out/lib ASCIIDOC=${asciidoc}/bin/asciidoc XMLTO=${xmlto}/bin/xmlto
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "userspace checkpoint/restore for Linux";
|
description = "Userspace checkpoint/restore for Linux";
|
||||||
homepage = "http://criu.org";
|
homepage = https://criu.org;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
maintainers = [ maintainers.thoughtpolice ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user