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 = ''