From 7dcf9f6907f1031ca84d2b772248121207a06727 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Thu, 20 Mar 2014 13:41:05 -0500 Subject: [PATCH] criu: only supported on 64-bit Signed-off-by: Austin Seipp --- pkgs/os-specific/linux/criu/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/criu/default.nix b/pkgs/os-specific/linux/criu/default.nix index 30056d8b8e6b..4c58fe5a46f5 100644 --- a/pkgs/os-specific/linux/criu/default.nix +++ b/pkgs/os-specific/linux/criu/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, protobuf, protobufc, asciidoc, xmlto, utillinux }: +assert stdenv.system == "x86_64-linux"; stdenv.mkDerivation rec { name = "criu-${version}"; version = "1.2"; @@ -31,7 +32,7 @@ stdenv.mkDerivation rec { description = "userspace checkpoint/restore for Linux"; homepage = "http://criu.org"; license = stdenv.lib.licenses.gpl2; - platforms = stdenv.lib.platforms.linux; + platforms = [ "x86_64-linux" ]; maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; }; }