mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 04:03:04 +00:00
oversteer: fix udev rule package paths (#364728)
This commit is contained in:
commit
ed9e8820ed
@ -16,7 +16,9 @@
|
||||
wrapGAppsHook3,
|
||||
gobject-introspection,
|
||||
bash,
|
||||
linuxConsoleTools,
|
||||
}:
|
||||
|
||||
let
|
||||
python = python3.withPackages (
|
||||
p: with p; [
|
||||
@ -86,7 +88,9 @@ stdenv.mkDerivation {
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/udev/rules.d/* \
|
||||
--replace /bin/sh ${bash}/bin/sh
|
||||
--replace-fail /bin/sh ${bash}/bin/sh
|
||||
substituteInPlace $out/lib/udev/rules.d/99-fanatec-wheel-perms.rules \
|
||||
--replace-fail /usr/bin/evdev-joystick ${linuxConsoleTools}/bin/evdev-joystick
|
||||
'';
|
||||
|
||||
patches = [ ];
|
||||
|
Loading…
Reference in New Issue
Block a user