diff --git a/pkgs/by-name/um/umu-launcher-unwrapped/package.nix b/pkgs/by-name/um/umu-launcher-unwrapped/package.nix index 637b7dda349f..967103de982f 100644 --- a/pkgs/by-name/um/umu-launcher-unwrapped/package.nix +++ b/pkgs/by-name/um/umu-launcher-unwrapped/package.nix @@ -7,6 +7,7 @@ python3Packages, rustPlatform, scdoc, + writableTmpDirAsHomeHook, withTruststore ? true, withDeltaUpdates ? true, }: @@ -26,6 +27,11 @@ python3Packages.buildPythonPackage rec { hash = "sha256-nU4xZn9NPd7NgexiaNYLdo4BCbH98duZ07XYeUiceP0="; }; + nativeCheckInputs = [ + writableTmpDirAsHomeHook + python3Packages.pytestCheckHook + ]; + nativeBuildInputs = [ cargo hatch @@ -66,6 +72,17 @@ python3Packages.buildPythonPackage rec { "SHELL_INTERPRETER=${lib.getExe bash}" ]; + disabledTests = [ + # Broken? Asserts that $STEAM_RUNTIME_LIBRARY_PATH is non-empty + # Fails with AssertionError: '' is not true : Expected two elements in STEAM_RUNTIME_LIBRARY_PATHS + "test_game_drive_empty" + "test_game_drive_libpath_empty" + + # Broken? Tests parse_args with no options (./umu_run.py) + # Fails with AssertionError: SystemExit not raised + "test_parse_args_noopts" + ]; + meta = { description = "Unified launcher for Windows games on Linux using the Steam Linux Runtime and Tools"; changelog = "https://github.com/Open-Wine-Components/umu-launcher/releases/tag/${version}";