From af7ccaf8c872fa1325a9aad537fcdafa638ec897 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 28 Feb 2017 15:46:57 +0100 Subject: [PATCH] exfat-nofuse: build only for kernels < 4.10 --- pkgs/os-specific/linux/exfat/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/exfat/default.nix b/pkgs/os-specific/linux/exfat/default.nix index dcdafbcc8f94..394092b8da93 100644 --- a/pkgs/os-specific/linux/exfat/default.nix +++ b/pkgs/os-specific/linux/exfat/default.nix @@ -1,5 +1,9 @@ { stdenv, 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"; + stdenv.mkDerivation rec { name = "exfat-nofuse-${version}-${kernel.version}"; version = "2017-01-03";