mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
monotoneViz: use xorg.* packages directly instead of xlibsWrapper indirection
Validated as no change in `out` output with `diffoscope`.
This commit is contained in:
parent
a5717f4f9a
commit
15c39787d8
@ -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 New Issue
Block a user