From f6286c104585341625324194bd1c9724ccc64a8c Mon Sep 17 00:00:00 2001 From: Aurelia Date: Sun, 19 Oct 2025 15:21:52 +0200 Subject: [PATCH] handheld-daemon: 3.18.5 -> 3.19.22 power.py also seems to have switched to using subprocess with arguments inside a string, so the replace now only matches the opening quote. --- pkgs/by-name/ha/handheld-daemon/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ha/handheld-daemon/package.nix b/pkgs/by-name/ha/handheld-daemon/package.nix index 4c06d473ee3e..e70fc72626bc 100644 --- a/pkgs/by-name/ha/handheld-daemon/package.nix +++ b/pkgs/by-name/ha/handheld-daemon/package.nix @@ -16,14 +16,14 @@ }: python3Packages.buildPythonApplication rec { pname = "handheld-daemon"; - version = "3.18.5"; + version = "3.19.22"; pyproject = true; src = fetchFromGitHub { owner = "hhd-dev"; repo = "hhd"; tag = "v${version}"; - hash = "sha256-T/0qKHF/BmVtVO19pd4/iqIZP1/G7iayDzHdhjRIA7U="; + hash = "sha256-mvIB2lgFaHMCGEshKvagOFUrvcgEbyUS9VXJpXbvzTs="; }; # Handheld-daemon runs some selinux-related utils which are not in nixpkgs. @@ -49,7 +49,7 @@ python3Packages.buildPythonApplication rec { substituteInPlace src/hhd/plugins/power/power.py \ --replace-fail '"efibootmgr"' '"${lib.getExe' efibootmgr "id"}"' \ - --replace-fail '"systemctl"' '"${lib.getExe' systemd "systemctl"}"' \ + --replace-fail '"systemctl' '"${lib.getExe' systemd "systemctl"}' \ --replace-fail '"stat"' '"${lib.getExe' coreutils "stat"}"' \ --replace-fail '"swapon"' '"${lib.getExe' util-linux "swapon"}"' \ --replace-fail '"swapoff"' '"${lib.getExe' util-linux "swapoff"}"' \