linuxPackages.exfat-nofuse: 2019-09-06 -> 2020-04-15

add assertion for newer linux kernels which come with native exfat support
This commit is contained in:
makefu 2020-09-09 20:13:57 +02:00
parent 5d131d3326
commit bbd7ba6a1c
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -3,16 +3,18 @@
# 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";
# 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 {
name = "exfat-nofuse-${version}-${kernel.version}";
version = "2019-09-06";
version = "2020-04-15";
src = fetchFromGitHub {
owner = "AdrianBan";
owner = "barrybingo";
repo = "exfat-nofuse";
rev = "5536f067373c196f152061f5000fe0032dc07c48";
sha256 = "00mhadsv2iw8z00a6170hwbvk3afx484nn3irmd5f5kmhs34sw7k";
rev = "297a5739cd4a942a1d814d05a9cd9b542e7b8fc8";
sha256 = "14jahy7n6pr482fjfrlf9ck3f2rkr5ds0n5r85xdfsla37ria26d";
};
hardeningDisable = [ "pic" ];