mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
Addressing review
This commit is contained in:
parent
2da1ad60a8
commit
4e30a2852c
@ -2,7 +2,7 @@
|
||||
|
||||
# BLCR version 0.8.6 should works with linux kernel up to version 3.17.x
|
||||
|
||||
assert builtins.compareVersions "3.18" kernel.version == 1;
|
||||
assert stdenv.lib.versionOlder "3.18" kernel.version;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "blcr_${kernel.version}-0.8.6pre4";
|
||||
|
@ -5,6 +5,8 @@
|
||||
}:
|
||||
|
||||
assert (!libsOnly) -> kernel != null;
|
||||
# Disable for kernels 4.15 and above due to compatibility issues
|
||||
assert kernel != null -> stdenv.lib.versionOlder kernel.version "4.15";
|
||||
|
||||
let xorgFullVer = (builtins.parseDrvName xorg.xorgserver.name).version;
|
||||
xorgVer = lib.concatStringsSep "." (lib.take 2 (lib.splitString "." xorgFullVer));
|
||||
|
@ -15636,7 +15636,7 @@ in
|
||||
|
||||
ati_drivers_x11 = callPackage ../os-specific/linux/ati-drivers { };
|
||||
|
||||
blcr = if builtins.compareVersions "3.18" kernel.version == 1 then callPackage ../os-specific/linux/blcr { } else null;
|
||||
blcr = if stdenv.lib.versionOlder "3.18" kernel.version then callPackage ../os-specific/linux/blcr { } else null;
|
||||
|
||||
chipsec = callPackage ../tools/security/chipsec {
|
||||
inherit kernel;
|
||||
|
Loading…
Reference in New Issue
Block a user