summary refs log tree commit diff
path: root/pkgs/os-specific/linux/exfat
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-09-09 20:13:57 +0200
committermakefu <github@syntax-fehler.de>2020-09-09 20:13:57 +0200
commitbbd7ba6a1cbe0606bb73bba163f81689a2863f1b (patch)
tree74a64465e0d41b75f073a6cc604011be6aff7b5e /pkgs/os-specific/linux/exfat
parent5d131d332680f719320360eccfad220514436f18 (diff)
downloadnixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.tar
nixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.tar.gz
nixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.tar.bz2
nixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.tar.lz
nixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.tar.xz
nixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.tar.zst
nixpkgs-bbd7ba6a1cbe0606bb73bba163f81689a2863f1b.zip
linuxPackages.exfat-nofuse: 2019-09-06 -> 2020-04-15
add assertion for newer linux kernels which come with native exfat support
Diffstat (limited to 'pkgs/os-specific/linux/exfat')
-rw-r--r--pkgs/os-specific/linux/exfat/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/exfat/default.nix b/pkgs/os-specific/linux/exfat/default.nix
index 59f9c709e5f..a92754bba7d 100644
--- a/pkgs/os-specific/linux/exfat/default.nix
+++ b/pkgs/os-specific/linux/exfat/default.nix
@@ -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" ];