mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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
@ -1,11 +1,6 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, kernel }:
|
{ stdenv, lib, fetchFromGitHub, fetchpatch, kernel }:
|
||||||
|
|
||||||
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";
|
||||||
|
|
||||||
|
@ -327,7 +327,7 @@ in {
|
|||||||
|
|
||||||
dpdk = pkgs.dpdk.override { inherit kernel; };
|
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 { };
|
evdi = callPackage ../os-specific/linux/evdi { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user