handheld-daemon: remove unneeded coreutils dependency

This commit is contained in:
Toast 2024-04-15 19:57:10 +02:00
parent 3b96a3c082
commit 6a2060842d
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
, lib
, python3
, toybox
, coreutils
}:
python3.pkgs.buildPythonApplication rec {
pname = "handheld-daemon";
@ -41,7 +40,7 @@ python3.pkgs.buildPythonApplication rec {
sed -i -e "s|libhidapi|$hidapi/libhidapi|" src/hhd/controller/lib/hid.py
# The generated udev rules point to /bin/chroot, which does not exist in NixOS
chmod=${ coreutils }/bin/chmod
chmod=${ toybox }/bin/chmod
sed -i -e "s|/bin/chmod|$chmod|" src/hhd/controller/lib/hide.py
'';