From 23d432f2798df0aebb3004ffbeee39bbf9794c13 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Sat, 30 May 2026 22:21:04 +0100 Subject: [PATCH] fix(scripts): add python3 so the XPS haptic-touchpad service runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pillar 9 VM script sweep: nomarchy-haptic-touchpad failed with "env: 'python3': No such file or directory". It's a python3 script (#!/usr/bin/env python3) wired as systemd.services.nomarchy-haptic-touchpad in core/system/hardware.nix (Dell XPS haptic feedback), run from the nomarchy-system-scripts wrapper — but python3 wasn't in systemScriptDeps, so the wrapper's PATH lacked it and the service died on every XPS. Add python3 (stdlib-only script, plain pkgs.python3 suffices). Verified the rebuilt wrapper resolves python3 and the script runs to its clean "no device found" exit. Co-Authored-By: Claude Opus 4.8 --- core/system/scripts-derivation.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/core/system/scripts-derivation.nix b/core/system/scripts-derivation.nix index e26e497..76d3b03 100644 --- a/core/system/scripts-derivation.nix +++ b/core/system/scripts-derivation.nix @@ -33,6 +33,7 @@ let fwupd hyprland swayosd + python3 # nomarchy-haptic-touchpad is a python3 script (Dell XPS service) ]; in pkgs.stdenv.mkDerivation {