From 41f34ef183f1dbcabbae23a71b59dbea28e0cea2 Mon Sep 17 00:00:00 2001 From: someplaceguy Date: Mon, 8 Sep 2025 17:42:51 -0300 Subject: [PATCH] solaar: fix /usr/bin/getfacl path --- pkgs/by-name/so/solaar/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/so/solaar/package.nix b/pkgs/by-name/so/solaar/package.nix index f48f559fd9ee..444b039d00ee 100644 --- a/pkgs/by-name/so/solaar/package.nix +++ b/pkgs/by-name/so/solaar/package.nix @@ -9,6 +9,7 @@ libappindicator, librsvg, udevCheckHook, + acl, }: # Although we copy in the udev rules here, you probably just want to use @@ -62,6 +63,11 @@ python3Packages.buildPythonApplication rec { pytest-cov-stub ]; + preConfigure = '' + substituteInPlace lib/solaar/listener.py \ + --replace-fail /usr/bin/getfacl "${lib.getExe' acl "getfacl"}" + ''; + # the -cli symlink is just to maintain compabilility with older versions where # there was a difference between the GUI and CLI versions. postInstall = ''