roccat-tools: Fix udev rules (#168463)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Aidan Gauland <aidalgol+git@fastmail.net>

authored by Aidan Gauland Sandro Aidan Gauland and committed by GitHub 901b4843 2bd7266a

+6 -1
+6 -1
pkgs/os-specific/linux/roccat-tools/default.nix
··· 1 1 { lib, stdenv, fetchurl, cmake, pkg-config, gettext 2 2 , dbus, dbus-glib, libgaminggear, libgudev, lua 3 - , harfbuzz 3 + , harfbuzz, runtimeShell, coreutils, kmod 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { ··· 19 19 /return/c \ 20 20 return g_build_path("/", g_get_user_data_dir(), "roccat", NULL); 21 21 }' libroccat/roccat_helper.c 22 + 23 + substituteInPlace udev/90-roccat-kone.rules \ 24 + --replace "/bin/sh" "${runtimeShell}" \ 25 + --replace "/sbin/modprobe" "${kmod}/bin/modprobe" \ 26 + --replace "/bin/echo" "${coreutils}/bin/echo" 22 27 ''; 23 28 24 29 nativeBuildInputs = [ cmake pkg-config gettext ];