From 7d824343b25b0790128fdf52986421f6161c17c3 Mon Sep 17 00:00:00 2001 From: Javier Olaechea Date: Sun, 6 Apr 2025 23:18:27 -0500 Subject: [PATCH] linuxPackages.digimend: 13 -> 13-unstable-2025-01-02 - Update the version to the latest commit, [f3c7c7f]. This includes the changes needed to build digimend for Linux versions >= 6.12. 6.11 has already been removed from the unstable branch. - Remove postInstall hook. The file the hook is trying to remove is no longer there. It was removed in commit [3e41e85]. [f3c7c7f]: https://github.com/DIGImend/digimend-kernel-drivers/commit/f3c7c7f1179fc786a8e5aad027d4db904c31b42c [3e41e85]: https://github.com/DIGImend/digimend-kernel-drivers/commit/3e41e856f38dc3ab3e2a81c2b6ee27e01a4aa245 --- pkgs/os-specific/linux/digimend/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/os-specific/linux/digimend/default.nix b/pkgs/os-specific/linux/digimend/default.nix index 926e024d9e3e..f3a00333a751 100644 --- a/pkgs/os-specific/linux/digimend/default.nix +++ b/pkgs/os-specific/linux/digimend/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "digimend"; - version = "13"; + version = "13-unstable-2025-01-02"; src = fetchFromGitHub { owner = "digimend"; repo = "digimend-kernel-drivers"; - rev = "v${version}"; - hash = "sha256-YYCxTyoZGMnqC2nKkRi5Z1uofldGvJDGY2/sO9iMNIo="; + rev = "f3c7c7f1179fc786a8e5aad027d4db904c31b42c"; + hash = "sha256-5kJj3SJfzrQ3n9r1YOn5xt0KO9WcEf0YpNMjiZEYMEo="; }; postPatch = '' @@ -27,13 +27,6 @@ stdenv.mkDerivation rec { nativeBuildInputs = kernel.moduleBuildDependencies; - postInstall = '' - # Remove module reload hack. - # The hid-rebind unloads and then reloads the hid-* module to ensure that - # the extra/ module is loaded. - rm -r $out/lib/udev - ''; - makeFlags = kernelModuleMakeFlags ++ [ "KVERSION=${kernel.modDirVersion}" "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"