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:
parent
5d131d3326
commit
bbd7ba6a1c
@ -3,16 +3,18 @@
|
|||||||
|
|
||||||
# Upstream build for kernel 4.1 is broken, 3.12 and below seems to be working
|
# 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";
|
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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "exfat-nofuse-${version}-${kernel.version}";
|
name = "exfat-nofuse-${version}-${kernel.version}";
|
||||||
version = "2019-09-06";
|
version = "2020-04-15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "AdrianBan";
|
owner = "barrybingo";
|
||||||
repo = "exfat-nofuse";
|
repo = "exfat-nofuse";
|
||||||
rev = "5536f067373c196f152061f5000fe0032dc07c48";
|
rev = "297a5739cd4a942a1d814d05a9cd9b542e7b8fc8";
|
||||||
sha256 = "00mhadsv2iw8z00a6170hwbvk3afx484nn3irmd5f5kmhs34sw7k";
|
sha256 = "14jahy7n6pr482fjfrlf9ck3f2rkr5ds0n5r85xdfsla37ria26d";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "pic" ];
|
hardeningDisable = [ "pic" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user