linuxPackages.exfat-nofuse: lazier assertion (/cc #97577)
I'm not sure what happens exactly. I suspect some construct like mkIf pushing into boot.kernelPackages contents and tripping on the assertion.
This commit is contained in:
parent
d50881ea95
commit
d347b85c02
@ -3,10 +3,13 @@
|
|||||||
|
|
||||||
# Upstream build for kernel 4.1 is broken, 3.12 and below seems to be working
|
# Upstream build for kernel 4.1 is broken, 3.12 and below seems to be working
|
||||||
assert lib.versionAtLeast kernel.version "4.2" || lib.versionOlder kernel.version "4.0";
|
assert lib.versionAtLeast kernel.version "4.2" || lib.versionOlder kernel.version "4.0";
|
||||||
# linux kernel above 5.7 comes with its own exfat implementation https://github.com/arter97/exfat-linux/issues/27
|
|
||||||
assert lib.versionOlder kernel.version "5.8";
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
# linux kernel above 5.7 comes with its own exfat implementation https://github.com/arter97/exfat-linux/issues/27
|
||||||
|
# Assertion moved here due to some tests unintenionally triggering it,
|
||||||
|
# e.g. nixosTests.kernel-latest; it's unclear how/why so far.
|
||||||
|
assertion = assert lib.versionOlder kernel.version "5.8"; null;
|
||||||
|
|
||||||
name = "exfat-nofuse-${version}-${kernel.version}";
|
name = "exfat-nofuse-${version}-${kernel.version}";
|
||||||
version = "2020-04-15";
|
version = "2020-04-15";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user