mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
mitschemeX11: use xorg.* packages directly instead of xlibsWrapper indirection
Validated as no materail change in `out` output with `diffoscope`.
This commit is contained in:
parent
0eb16c85a0
commit
22bee934d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user