diff options
author | Artturi <Artturin@artturin.com> | 2024-04-14 19:37:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-14 19:37:31 +0300 |
commit | f6a5316213aaaa099f28f4aee9bb473420c0cc8f (patch) | |
tree | ce8d611f559faaeb0886c0a9b5dc83ada7da82b8 /pkgs/tools/misc | |
parent | 5f81b2812ea76d998cb25a3491cce03093326cb2 (diff) | |
parent | 671d051a48c744a4f5cb4faef2598ce1315c3379 (diff) |
Merge pull request #303919 from traxys/udev_ckb_next
ckb-next: Fix udev rule
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/ckb-next/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/misc/ckb-next/default.nix b/pkgs/tools/misc/ckb-next/default.nix index 549cb543af192..959493d3e4bda 100644 --- a/pkgs/tools/misc/ckb-next/default.nix +++ b/pkgs/tools/misc/ckb-next/default.nix @@ -1,5 +1,5 @@ { lib, wrapQtAppsHook, fetchFromGitHub, substituteAll, udev, stdenv -, pkg-config, qtbase, cmake, zlib, kmod, libXdmcp, qttools, qtx11extras, libdbusmenu +, pkg-config, qtbase, cmake, zlib, kmod, libXdmcp, qttools, qtx11extras, libdbusmenu, gnused , withPulseaudio ? stdenv.isLinux, libpulseaudio, quazip }: @@ -47,6 +47,11 @@ stdenv.mkDerivation rec { }) ]; + postInstall = '' + substituteInPlace "$out/lib/udev/rules.d/99-ckb-next-daemon.rules" \ + --replace-fail "/usr/bin/env sed" "${lib.getExe gnused}" + ''; + meta = with lib; { description = "Driver and configuration tool for Corsair keyboards and mice"; homepage = "https://github.com/ckb-next/ckb-next"; |