From b9e89ce537a6285d496026af8a1257c019a0f4e3 Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 16 Jun 2026 19:07:34 -0400 Subject: [PATCH] fix: use libraspberrypi instead of raspberrypi-tools for pinctrl --- modules/nixos/hardware/uconsole-cm5-aio-v2.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/hardware/uconsole-cm5-aio-v2.nix b/modules/nixos/hardware/uconsole-cm5-aio-v2.nix index a216da7..7b16cb0 100644 --- a/modules/nixos/hardware/uconsole-cm5-aio-v2.nix +++ b/modules/nixos/hardware/uconsole-cm5-aio-v2.nix @@ -21,7 +21,7 @@ let applyRailsScript = pkgs.writeShellScript "apply-aio-v2-rails" ( '' set -e - PINCTRL=${pkgs.raspberrypi-tools}/bin/pinctrl + PINCTRL=${pkgs.libraspberrypi}/bin/pinctrl '' + concatStringsSep "" (mapAttrsToList (name: pin: '' if [ "${if cfg.bootRails.${name} then "1" else "0"}" = "1" ]; then @@ -123,7 +123,7 @@ in { # Package the aiov2_ctl tool + pinctrl environment.systemPackages = with pkgs; [ cfg.package - raspberrypi-tools # provides pinctrl + libraspberrypi # provides pinctrl ]; # Boot rail systemd oneshot service