summary refs log tree commit diff
path: root/pkgs/servers/openafs/1.8/module.nix
diff options
context:
space:
mode:
authorArtemis Tosini <me@artem.ist>2019-02-20 02:40:01 +0000
committerArtemis Tosini <me@artem.ist>2019-02-20 02:45:11 +0000
commit71c68185e69bd0f5fd5a3a988bed07dc3c907666 (patch)
treefe1abdc238ee126987e4fb8458d410f8ca54e247 /pkgs/servers/openafs/1.8/module.nix
parentfa82ebccf66eef185d063d49a9e294a7a1e15d36 (diff)
downloadnixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.tar
nixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.tar.gz
nixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.tar.bz2
nixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.tar.lz
nixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.tar.xz
nixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.tar.zst
nixpkgs-71c68185e69bd0f5fd5a3a988bed07dc3c907666.zip
openafs_1_8: Include support for Linux 4.20
OpenAFS version 1.8.2 does not have support for Linux 4.20,
meaning that linuxPackages_latest.openafs_1_8 would fail
to build.

This patch adds patches taken from the OpenAFS git to
remove the references to deprecated functions. This has been
tested on Linux 4.20 and Linux 4.14

This patch must be removed when OpenAFS 1.8.3 is released
and improved when Linux 5.0 is added to Nix
Diffstat (limited to 'pkgs/servers/openafs/1.8/module.nix')
-rw-r--r--pkgs/servers/openafs/1.8/module.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/openafs/1.8/module.nix b/pkgs/servers/openafs/1.8/module.nix
index 958fcd578c2..36a73bf5878 100644
--- a/pkgs/servers/openafs/1.8/module.nix
+++ b/pkgs/servers/openafs/1.8/module.nix
@@ -11,6 +11,8 @@ in stdenv.mkDerivation rec {
   name = "openafs-${version}-${kernel.modDirVersion}";
   inherit version src;
 
+  patches = [ ./linux-4.20.patch ];
+
   nativeBuildInputs = [ autoconf automake flex libtool_2 perl which yacc ]
     ++ kernel.moduleBuildDependencies;