1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

BLCR fix arsert to include kernel versions 2.6.38.x

svn path=/nixpkgs/trunk/; revision=34134
This commit is contained in:
Marco Maggesi 2012-05-16 08:44:20 +00:00
parent 840b2b013c
commit d61fb6e4ca

View file

@ -1,6 +1,8 @@
{ stdenv, fetchurl, kernel, perl, makeWrapper }: { stdenv, fetchurl, kernel, perl, makeWrapper }:
assert stdenv.isLinux && builtins.compareVersions kernel.version "2.6.38" != 1; # BLCR 0.8.4 works for kernel version up to 2.6.38 (including 2.6.38.x)
assert stdenv.isLinux;
assert builtins.compareVersions "2.6.39" kernel.version == 1;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "blcr-0.8.4-${kernel.version}"; name = "blcr-0.8.4-${kernel.version}";