From 72e6e6a4833e3ea481f3573034011cb07abd2c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= <vcunat@gmail.com> Date: Mon, 18 Jan 2016 15:00:39 +0100 Subject: [PATCH] tarball: fix evaluation of mdadm on darwin It probably doesn't make any sense to have mdadm on darwin, but we have to "fail in a right way". --- pkgs/os-specific/linux/mdadm/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/mdadm/default.nix b/pkgs/os-specific/linux/mdadm/default.nix index dc1697b9e9b2..465dc58199ed 100644 --- a/pkgs/os-specific/linux/mdadm/default.nix +++ b/pkgs/os-specific/linux/mdadm/default.nix @@ -1,5 +1,7 @@ { stdenv, fetchurl, groff }: +assert stdenv.isLinux; + stdenv.mkDerivation rec { name = "mdadm-3.3.4";