Skip to content

Commit

Permalink
Merge pull request #303919 from traxys/udev_ckb_next
Browse files Browse the repository at this point in the history
ckb-next: Fix udev rule
  • Loading branch information
Artturin authored Apr 14, 2024
2 parents 5f81b28 + 671d051 commit f6a5316
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/tools/misc/ckb-next/default.nix
Original file line number Diff line number Diff line change
@@ -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
}:

Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit f6a5316

Please sign in to comment.