Skip to content

Commit

Permalink
exfat-nofuse: exclude 4.1 kernel build
Browse files Browse the repository at this point in the history
(cherry picked from commit b4ff1ba)
  • Loading branch information
makefu authored and Mic92 committed Feb 28, 2017
1 parent cefbfff commit 7a5d245
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pkgs/os-specific/linux/exfat/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{ stdenv, fetchFromGitHub, kernel }:
{ stdenv, lib, fetchFromGitHub, kernel }:

# Upstream build for kernel > 4.10 is currently broken
# Reference: https://github.com/dorimanx/exfat-nofuse/issues/103
assert stdenv.lib.versionOlder kernel.version "4.10";
assert lib.versionOlder kernel.version "4.10";

# 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";

stdenv.mkDerivation rec {
name = "exfat-nofuse-${version}-${kernel.version}";
Expand All @@ -28,8 +31,8 @@ stdenv.mkDerivation rec {
meta = {
description = "exfat kernel module";
homepage = https://github.com/dorimanx/exfat-nofuse;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ makefu ];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ makefu ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 7a5d245

Please sign in to comment.