Merge pull request #303919 from traxys/udev_ckb_next
ckb-next: Fix udev rule
This commit is contained in:
commit
f6a5316213
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ lib, wrapQtAppsHook, fetchFromGitHub, substituteAll, udev, stdenv
|
{ 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
|
, 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; {
|
meta = with lib; {
|
||||||
description = "Driver and configuration tool for Corsair keyboards and mice";
|
description = "Driver and configuration tool for Corsair keyboards and mice";
|
||||||
homepage = "https://github.com/ckb-next/ckb-next";
|
homepage = "https://github.com/ckb-next/ckb-next";
|
||||||
|
|
Loading…
Reference in a new issue