summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-10-23 04:32:33 +0300
committerArtturin <Artturin@artturin.com>2021-11-05 19:57:03 +0200
commit74dbb75ea436e5b73c4d2d2a6010bff047f53f7a (patch)
tree881483da54452839911a06d3764a7fd837b127bd /pkgs/tools/graphics
parent077ceba2c18d17619d70785a0197d7307ed58593 (diff)
graphviz: fix build with strictDeps
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/graphviz/base.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/tools/graphics/graphviz/base.nix b/pkgs/tools/graphics/graphviz/base.nix
index f225f2196cc8..b98c55384996 100644
--- a/pkgs/tools/graphics/graphviz/base.nix
+++ b/pkgs/tools/graphics/graphviz/base.nix
@@ -1,7 +1,7 @@
{ rev, sha256, version }:
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, cairo, expat, flex
-, fontconfig, gd, gettext, gts, libdevil, libjpeg, libpng, libtool, pango
+, fontconfig, gd, gettext, gts, libdevil, libjpeg, libpng, libtool, pango, bash
, bison, fetchpatch, xorg, ApplicationServices, python3 }:
let
@@ -41,11 +41,16 @@ stdenv.mkDerivation {
inherit sha256 rev;
};
- nativeBuildInputs = [ autoreconfHook pkg-config python3 ];
+ nativeBuildInputs = [
+ autoreconfHook
+ pkg-config
+ python3
+ bison
+ flex
+ ];
buildInputs = [
- libpng libjpeg expat bison libtool fontconfig gd gts libdevil flex pango
- gettext
+ libpng libjpeg expat fontconfig gd gts libdevil pango bash
] ++ optionals (xorg != null) (with xorg; [ libXrender libXaw libXpm ])
++ optionals (stdenv.isDarwin) [ ApplicationServices ];