blcr: drop support for kernel 3.12

This commit is contained in:
Domen Kožar 2015-09-12 13:17:01 +02:00
parent d2fbbb2100
commit 54e430a689

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel, perl, makeWrapper }:
{ 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
@ -6,6 +6,9 @@
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";