about summary refs log tree commit diff
path: root/pkgs/applications/graphics/qvge
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-11-20 14:18:10 -0500
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-11-20 15:00:13 -0500
commit74cb07175b8788ad33dcc622aca8769828b925d1 (patch)
tree8bcc0a88ef862747bc7fe6f7e77edefbe5617988 /pkgs/applications/graphics/qvge
parentc138eff31574ff1b89ffd5132af7df30c0bfaa4a (diff)
qvge: enable on darwin
Diffstat (limited to 'pkgs/applications/graphics/qvge')
-rw-r--r--pkgs/applications/graphics/qvge/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/qvge/default.nix b/pkgs/applications/graphics/qvge/default.nix
index f50e87d1eddb2..c5712c38095f3 100644
--- a/pkgs/applications/graphics/qvge/default.nix
+++ b/pkgs/applications/graphics/qvge/default.nix
@@ -3,6 +3,7 @@
 , fetchFromGitHub
 , substituteAll
 , qmake
+, qtsvg
 , qtx11extras
 , graphviz
 }:
@@ -27,13 +28,13 @@ mkDerivation rec {
 
   nativeBuildInputs = [ qmake ];
 
-  buildInputs = [ qtx11extras ];
+  buildInputs = if stdenv.isDarwin then [ qtsvg ] else [ qtx11extras ];
 
   meta = with lib; {
     description = "Qt Visual Graph Editor";
     homepage = "https://github.com/ArsMasiuk/qvge";
     license = licenses.mit;
     maintainers = with maintainers; [ sikmir ];
-    platforms = with platforms; linux;
+    platforms = platforms.unix;
   };
 }