mitschemeX11: use xorg.* packages directly instead of xlibsWrapper indirection

Validated as no materail change in `out` output with `diffoscope`.
This commit is contained in:
Sergei Trofimovich 2022-11-22 22:24:10 +00:00
parent 0eb16c85a0
commit 22bee934d0

View File

@ -1,6 +1,17 @@
{ fetchurl, lib, stdenv, makeWrapper, gnum4, texinfo, texLive, automake,
autoconf, libtool, ghostscript, ncurses,
enableX11 ? false, xlibsWrapper }:
{ fetchurl
, lib
, stdenv
, makeWrapper
, gnum4
, texinfo
, texLive
, automake
, autoconf
, libtool
, ghostscript
, ncurses
, enableX11 ? false, libX11
}:
let
version = "11.2";
@ -29,7 +40,7 @@ stdenv.mkDerivation {
sha256 = "17822hs9y07vcviv2af17p3va7qh79dird49nj50bwi9rz64ia3w";
};
buildInputs = [ ncurses ] ++ lib.optional enableX11 xlibsWrapper;
buildInputs = [ ncurses ] ++ lib.optionals enableX11 [ libX11 ];
configurePhase = ''
runHook preConfigure