From 3e1ec2b6632fafd4cb97a750aa8a44a9f374fb06 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Fri, 18 Mar 2016 23:39:03 +0100 Subject: [PATCH] criu: fix build Would fail due to -Werror; see https://hydra.nixos.org/build/33217086/nixlog/2/raw --- pkgs/os-specific/linux/criu/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/criu/default.nix b/pkgs/os-specific/linux/criu/default.nix index 433cc2c81d7a..6afaf36bd80a 100644 --- a/pkgs/os-specific/linux/criu/default.nix +++ b/pkgs/os-specific/linux/criu/default.nix @@ -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 ]; }; }