From 378be802e852748e6080a6a59f5a6ebbff4a9a3d Mon Sep 17 00:00:00 2001 From: mksafavi Date: Sat, 30 Nov 2024 14:37:58 +0330 Subject: [PATCH] new-lg4ff: 0.4.0 -> 0-unstable-2024-11-25 --- pkgs/os-specific/linux/new-lg4ff/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/new-lg4ff/default.nix b/pkgs/os-specific/linux/new-lg4ff/default.nix index 8eed8edbc166..b87df20fa5c2 100644 --- a/pkgs/os-specific/linux/new-lg4ff/default.nix +++ b/pkgs/os-specific/linux/new-lg4ff/default.nix @@ -1,18 +1,18 @@ { lib, stdenv, kernel, fetchFromGitHub }: -stdenv.mkDerivation rec { +stdenv.mkDerivation { pname = "new-lg4ff"; - version = "0.4.0"; + version = "0-unstable-2024-11-25"; src = fetchFromGitHub { owner = "berarma"; repo = "new-lg4ff"; - rev = version; - sha256 = "ZFwNdeJcSxzWtqjOF86SZpqhuz8jXZ2drvlQeIqsaNY="; + rev = "6100a34c182536c607af80e119d54a66c6fb2a23"; + sha256 = "sha256-90PnQDGwp94ELvWx6p8QiZucYmTbH3N0GiZbj3fo25g="; }; preBuild = '' - substituteInPlace Makefile --replace "modules_install" "INSTALL_MOD_PATH=$out modules_install" + substituteInPlace Makefile --replace-fail "modules_install" "INSTALL_MOD_PATH=$out modules_install" sed -i '/depmod/d' Makefile sed -i "10i\\\trmmod hid-logitech 2> /dev/null || true" Makefile sed -i "11i\\\trmmod hid-logitech-new 2> /dev/null || true" Makefile