diff --git a/pkgs/by-name/fo/fooyin/package.nix b/pkgs/by-name/fo/fooyin/package.nix index 4c65acf2f046..cdaf7c3925bd 100644 --- a/pkgs/by-name/fo/fooyin/package.nix +++ b/pkgs/by-name/fo/fooyin/package.nix @@ -79,6 +79,12 @@ stdenv.mkDerivation (finalAttrs: { }) ]; + # Fix compatibility with Qt 6.10.1 - should be fixed in next release + postPatch = '' + substituteInPlace src/utils/starrating.cpp \ + --replace-fail '.arg(alignment);' '.arg(alignment.toInt());' + ''; + meta = { description = "Customisable music player"; homepage = "https://www.fooyin.org/";