about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorTobias Bora <tobias.bora@gmail.com>2023-01-09 10:50:49 +0100
committerManuel Bärenz <programming@manuelbaerenz.de>2023-01-09 12:57:15 +0100
commit72f79812e5fee3e2c12fa3cd107e329b14b6a01f (patch)
tree30d33da50fa49fd1a6055f844b9e93761b5ec613 /pkgs/applications/video
parent3be80fbf1fc961a7e1cd142bbfdb4edb2f3b5553 (diff)
Glaxnimate: fix tester
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/glaxnimate/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/video/glaxnimate/default.nix b/pkgs/applications/video/glaxnimate/default.nix
index 7e6339813f743..c3cba5858ead2 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; {