diff --git a/pkgs/tools/package-management/protontricks/default.nix b/pkgs/tools/package-management/protontricks/default.nix index f10876a03020..13b7158e7969 100644 --- a/pkgs/tools/package-management/protontricks/default.nix +++ b/pkgs/tools/package-management/protontricks/default.nix @@ -1,19 +1,20 @@ -{ lib -, buildPythonApplication -, fetchFromGitHub -, setuptools-scm -, setuptools -, vdf -, pillow -, substituteAll -, writeShellScript -, steam-run -, fetchpatch2 -, winetricks -, yad -, pytestCheckHook -, nix-update-script -, extraCompatPaths ? "" +{ + lib, + buildPythonApplication, + fetchFromGitHub, + substituteAll, + writeShellScript, + steam-run, + fetchpatch2, + setuptools-scm, + setuptools, + vdf, + pillow, + winetricks, + yad, + pytestCheckHook, + nix-update-script, + extraCompatPaths ? "", }: buildPythonApplication rec { @@ -59,14 +60,18 @@ buildPythonApplication rec { pillow ]; - makeWrapperArgs = [ - "--prefix PATH : ${lib.makeBinPath [ - winetricks - yad - ]}" - # Steam Runtime does not work outside of steam-run, so don't use it - "--set STEAM_RUNTIME 0" - ] ++ lib.optional (extraCompatPaths != "") "--set STEAM_EXTRA_COMPAT_TOOLS_PATHS ${extraCompatPaths}"; + makeWrapperArgs = + [ + "--prefix PATH : ${ + lib.makeBinPath [ + winetricks + yad + ] + }" + # Steam Runtime does not work outside of steam-run, so don't use it + "--set STEAM_RUNTIME 0" + ] + ++ lib.optional (extraCompatPaths != "") "--set STEAM_EXTRA_COMPAT_TOOLS_PATHS ${extraCompatPaths}"; nativeCheckInputs = [ pytestCheckHook ]; @@ -85,6 +90,9 @@ buildPythonApplication rec { homepage = "https://github.com/Matoking/protontricks"; license = licenses.gpl3Only; maintainers = with maintainers; [ kira-bruneau ]; - platforms = [ "x86_64-linux" "i686-linux" ]; + platforms = [ + "x86_64-linux" + "i686-linux" + ]; }; }