Merge pull request #205484 from trofi/monotoneViz-without-xlibsWrapper
monotoneViz: use xorg.* packages directly instead of xlibsWrapper ind…
This commit is contained in:
commit
60aa3fa6d7
2 changed files with 5 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
|||
{ lib, stdenv, fetchurl, ocamlPackages, gnome2, pkg-config, makeWrapper, glib
|
||||
, libtool, libpng, bison, expat, fontconfig, gd, pango, libjpeg, libwebp, xlibsWrapper, libXaw
|
||||
, libtool, libpng, bison, expat, fontconfig, gd, pango, libjpeg, libwebp, libX11, libXaw
|
||||
}:
|
||||
# We need an old version of Graphviz for format compatibility reasons.
|
||||
# This version is vulnerable, but monotone-viz will never feed it bad input.
|
||||
let graphviz_2_0 = import ./graphviz-2.0.nix {
|
||||
inherit lib stdenv fetchurl pkg-config xlibsWrapper libpng libjpeg expat libXaw
|
||||
inherit lib stdenv fetchurl pkg-config libX11 libpng libjpeg expat libXaw
|
||||
bison libtool fontconfig pango gd libwebp;
|
||||
}; in
|
||||
let inherit (gnome2) libgnomecanvas; in
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, xlibsWrapper
|
||||
, libX11
|
||||
, libpng
|
||||
, libjpeg
|
||||
, expat
|
||||
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
xlibsWrapper
|
||||
libX11
|
||||
libpng
|
||||
libjpeg
|
||||
expat
|
||||
|
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
|||
"--with-ltdl-include=${libtool}/include"
|
||||
"--with-ltdl-lib=${libtool.lib}/lib"
|
||||
]
|
||||
++ lib.optional (xlibsWrapper == null) "--without-x";
|
||||
++ lib.optional (libX11 == null) "--without-x";
|
||||
|
||||
meta = {
|
||||
description = "A program for visualising graphs";
|
||||
|
|
Loading…
Reference in a new issue