From 72f79812e5fee3e2c12fa3cd107e329b14b6a01f Mon Sep 17 00:00:00 2001 From: Tobias Bora Date: Mon, 9 Jan 2023 10:50:49 +0100 Subject: [PATCH] Glaxnimate: fix tester --- pkgs/applications/video/glaxnimate/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/glaxnimate/default.nix b/pkgs/applications/video/glaxnimate/default.nix index 7e6339813f74..c3cba5858ead 100644 --- a/pkgs/applications/video/glaxnimate/default.nix +++ b/pkgs/applications/video/glaxnimate/default.nix @@ -13,7 +13,9 @@ , testers , qtsvg , qtimageformats +# For the tests , glaxnimate # Call itself, for the tests +, xvfb-run }: let # TODO: try to add a python library, see toPythonModule in doc/languages-frameworks/python.section.md @@ -66,7 +68,7 @@ stdenv.mkDerivation rec { passthru.tests.version = testers.testVersion { package = glaxnimate; - command = "glaxnimate --version"; + command = "${xvfb-run}/bin/xvfb-run glaxnimate --version"; }; meta = with lib; {