BLCR 0.8.5b4 *do* work with Linux 3.10.

This commit is contained in:
Marco Maggesi 2017-04-13 14:12:50 +02:00
parent 15bb499df9
commit 1dee38f259

View file

@ -1,14 +1,10 @@
{ stdenv, lib, fetchurl, kernel, perl, makeWrapper }:
# BLCR 0.8.5 should works for kernel version up to 3.7.1
# BLCR 0.8.6 should works for kernel version up to 3.17.x
# BLCR version 0.8.6 should works with linux kernel up to version 3.17.x
assert stdenv.isLinux;
assert builtins.compareVersions "3.18" kernel.version == 1;
# it doesn't compile anymore on 3.12
assert lib.versionAtLeast kernel.version "3.14";
stdenv.mkDerivation {
name = "blcr_${kernel.version}-0.8.6pre4";