linuxPackages.exfat-nofuse: set to null when unsupported
This is the same thing every other obsolete kernel module does, and it's better than an assertion because an assertion prevents testing evaluation of all the modules for a particular kernel.
This commit is contained in:
parent
807ac7dcbe
commit
7560f8eea5
2 changed files with 1 additions and 6 deletions
|
@ -1,11 +1,6 @@
|
|||
{ stdenv, lib, fetchFromGitHub, fetchpatch, kernel }:
|
||||
|
||||
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}";
|
||||
version = "2020-04-15";
|
||||
|
||||
|
|
|
@ -327,7 +327,7 @@ in {
|
|||
|
||||
dpdk = pkgs.dpdk.override { inherit kernel; };
|
||||
|
||||
exfat-nofuse = callPackage ../os-specific/linux/exfat { };
|
||||
exfat-nofuse = if lib.versionOlder kernel.version "5.8" then callPackage ../os-specific/linux/exfat { } else null;
|
||||
|
||||
evdi = callPackage ../os-specific/linux/evdi { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue