Add assertion: BLCR do not build on recent kernels

svn path=/nixpkgs/trunk/; revision=34098
This commit is contained in:
Marco Maggesi 2012-05-15 06:28:14 +00:00
parent 7a6887fc8a
commit 4d90c6b835

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, kernel, perl, makeWrapper }:
assert stdenv.isLinux;
assert stdenv.isLinux && builtins.compareVersion kernel.version "2.6.38" != 1;
stdenv.mkDerivation {
name = "blcr-0.8.4-${kernel.version}";