Merge pull request #202441 from trofi/mitschemeX11-without-xlibsWrapper

mitschemeX11: use xorg.* packages directly instead of xlibsWrapper in…
This commit is contained in:
Sergei Trofimovich 2022-11-23 23:05:13 +00:00 committed by GitHub
commit c46a7d0735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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